Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002512/0.002512, allocations: 181.3 kB / 360.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.2 MB / 0.6187 GB, free: 13.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 87.44 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2845/0.2863, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.9136, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/1.134, allocations: 136.5 MB / 1.096 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/1.135, allocations: 59.97 kB / 1.096 GB, free: 4.383 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01092/1.146, allocations: 1.386 MB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.146, allocations: 8 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/1.146, allocations: 11.62 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/1.146, allocations: 167 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.146, allocations: 0 / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/1.146, allocations: 7.906 kB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/1.146, allocations: 11.98 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.146, allocations: 40.78 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.147, allocations: 0 / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.147, allocations: 0 / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.147, allocations: 0 / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/1.147, allocations: 134.2 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/1.147, allocations: 35.34 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/1.147, allocations: 8.922 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/1.147, allocations: 9.344 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/1.147, allocations: 39.86 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/1.147, allocations: 0 / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001268/1.149, allocations: 295.9 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.149, allocations: 56.19 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.149, allocations: 97 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/1.149, allocations: 26.52 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/1.149, allocations: 88.12 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/1.149, allocations: 16.28 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.149, allocations: 0.9375 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.149, allocations: 310.8 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/1.149, allocations: 20.52 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/1.149, allocations: 25.67 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/1.15, allocations: 21.61 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.15, allocations: 0 / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003541/1.15, allocations: 76.77 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.15, allocations: 4 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.15, allocations: 0 / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.15, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.15, allocations: 7.984 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.15, allocations: 4 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/1.15, allocations: 2.969 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/1.15, allocations: 1.094 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.151, allocations: 114.7 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/1.151, allocations: 3.906 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/1.151, allocations: 94.42 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.151, allocations: 4 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.151, allocations: 0 / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.151, allocations: 0 / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/1.151, allocations: 135.7 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.151, allocations: 3.906 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.152, allocations: 8 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.152, allocations: 0.6562 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/1.152, allocations: 0 / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.152, allocations: 0 / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.152, allocations: 7.984 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004448/1.152, allocations: 113 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007358/1.153, allocations: 0.5159 MB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/1.153, allocations: 77.11 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/1.153, allocations: 1.562 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.153, allocations: 15.84 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/1.153, allocations: 0 / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/1.153, allocations: 4 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.959e-05/1.153, allocations: 87.27 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.00192/1.155, allocations: 24 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003931/1.156, allocations: 119.2 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001805/1.156, allocations: 36.48 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.156, allocations: 4.125 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/1.156, allocations: 15.98 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/1.156, allocations: 3.984 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/1.157, allocations: 84.94 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/1.157, allocations: 0.6954 MB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/1.157, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)