Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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/Complex 4.0.0+maint.om/package.mo): time 0.004844/0.004844, allocations: 182.8 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7943/0.7943, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4747/0.4759, allocations: 88.42 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.6487, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7231/1.372, allocations: 323.9 MB / 0.9496 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.372, allocations: 85.34 kB / 0.9497 GB, free: 6.617 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01836/1.391, allocations: 8.254 MB / 0.9578 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.391, allocations: 8 kB / 0.9578 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/1.391, allocations: 19.66 kB / 0.9578 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.843e-05/1.391, allocations: 171 kB / 0.9579 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/1.391, allocations: 0 / 0.9579 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/1.391, allocations: 11.91 kB / 0.958 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.006e-05/1.391, allocations: 4 kB / 0.958 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/1.391, allocations: 63.88 kB / 0.958 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/1.391, allocations: 0 / 0.958 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.391, allocations: 0 / 0.958 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.391, allocations: 0 / 0.958 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/1.392, allocations: 442.2 kB / 0.9584 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.392, allocations: 62.59 kB / 0.9585 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/1.392, allocations: 22.69 kB / 0.9585 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/1.392, allocations: 4 kB / 0.9585 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.392, allocations: 38.12 kB / 0.9586 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/1.392, allocations: 0 / 0.9586 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005274/1.392, allocations: 276.2 kB / 0.9588 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.393, allocations: 110.8 kB / 0.9589 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/1.393, allocations: 96.23 kB / 0.959 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.393, allocations: 33.64 kB / 0.9591 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/1.393, allocations: 84.05 kB / 0.9591 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.393, allocations: 30.12 kB / 0.9592 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.393, allocations: 0 / 0.9592 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.393, allocations: 314.8 kB / 0.9595 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/1.393, allocations: 11.5 kB / 0.9595 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/1.393, allocations: 48.62 kB / 0.9595 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/1.393, allocations: 19.48 kB / 0.9595 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.393, allocations: 0 / 0.9595 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001128/1.393, allocations: 84.52 kB / 0.9596 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.393, allocations: 8.125 kB / 0.9596 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.393, allocations: 7.984 kB / 0.9596 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.393, allocations: 0 / 0.9596 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/1.393, allocations: 23.88 kB / 0.9597 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.393, allocations: 7.984 kB / 0.9597 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/1.393, allocations: 0 / 0.9597 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.393, allocations: 4 kB / 0.9597 GB, free: 13.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.545e-05/1.393, allocations: 112 kB / 0.9598 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/1.393, allocations: 4 kB / 0.9598 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/1.393, allocations: 11.12 kB / 0.9598 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.393, allocations: 0 / 0.9598 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.393, allocations: 4 kB / 0.9598 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.393, allocations: 3.906 kB / 0.9598 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/1.394, allocations: 149.8 kB / 0.9599 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.394, allocations: 0 / 0.9599 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/1.394, allocations: 19.92 kB / 0.96 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.394, allocations: 0 / 0.96 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/1.394, allocations: 4 kB / 0.96 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.394, allocations: 64 / 0.96 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.394, allocations: 4 kB / 0.96 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001978/1.394, allocations: 345.2 kB / 0.9603 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002876/1.394, allocations: 0.7283 MB / 0.961 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/1.394, allocations: 85.02 kB / 0.9611 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/1.394, allocations: 3.984 kB / 0.9611 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/1.395, allocations: 192 / 0.9611 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/1.395, allocations: 11.25 kB / 0.9611 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/1.395, allocations: 7.984 kB / 0.9611 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.751e-05/1.395, allocations: 79.27 kB / 0.9612 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008661/1.396, allocations: 12 kB / 0.9612 GB, free: 12.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000144/1.396, allocations: 111.4 kB / 0.9613 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.879e-05/1.396, allocations: 42.98 kB / 0.9613 GB, free: 12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.396, allocations: 4.25 kB / 0.9614 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/1.396, allocations: 19.3 kB / 0.9614 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/1.396, allocations: 7.906 kB / 0.9614 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/1.397, allocations: 270.9 kB / 0.9616 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/1.397, allocations: 0.7036 MB / 0.9623 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/1.397, allocations: 0 / 0.9623 GB, free: 10.95 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)