Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.00117/0.00117, allocations: 187.6 kB / 7.804 MB, free: 2.328 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4534/0.4534, allocations: 90.85 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.4 MB / 342.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 90.83 kB / 415.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1731/0.1742, allocations: 78.46 MB / 494 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.5336, allocations: 72.3 MB / 0.553 GB, free: 44.6 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/1.078, allocations: 312.6 MB / 0.8583 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.078, allocations: 82 kB / 0.8584 GB, free: 10.13 MB / 0.5417 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.01927/1.098, allocations: 8.263 MB / 0.8664 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/1.098, allocations: 11.94 kB / 0.8665 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/1.098, allocations: 15.98 kB / 0.8665 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.098, allocations: 167 kB / 0.8666 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.098, allocations: 4 kB / 0.8666 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/1.098, allocations: 7.906 kB / 0.8666 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.625e-05/1.098, allocations: 4 kB / 0.8666 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.424e-05/1.098, allocations: 63.89 kB / 0.8667 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.098, allocations: 0 / 0.8667 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.098, allocations: 0 / 0.8667 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.098, allocations: 4 kB / 0.8667 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/1.099, allocations: 442.4 kB / 0.8671 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.099, allocations: 58.56 kB / 0.8672 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/1.099, allocations: 22.7 kB / 0.8672 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/1.099, allocations: 4 kB / 0.8672 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.099, allocations: 38.58 kB / 0.8673 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/1.099, allocations: 0 / 0.8673 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0006003/1.1, allocations: 286.2 kB / 0.8675 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.1, allocations: 102.8 kB / 0.8676 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/1.1, allocations: 96.97 kB / 0.8677 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.1, allocations: 25.7 kB / 0.8677 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/1.1, allocations: 87.86 kB / 0.8678 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/1.1, allocations: 31.05 kB / 0.8679 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.1, allocations: 0 / 0.8679 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.1, allocations: 310.8 kB / 0.8681 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/1.1, allocations: 15.66 kB / 0.8682 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/1.1, allocations: 48.34 kB / 0.8682 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/1.1, allocations: 19.55 kB / 0.8682 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.1, allocations: 0 / 0.8682 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/1.1, allocations: 85.08 kB / 0.8683 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.1, allocations: 6.031 kB / 0.8683 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.1, allocations: 4 kB / 0.8683 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.1, allocations: 3.938 kB / 0.8683 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/1.1, allocations: 27.92 kB / 0.8683 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/1.1, allocations: 0 / 0.8683 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/1.1, allocations: 4.75 kB / 0.8684 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/1.1, allocations: 4 kB / 0.8684 GB, free: 1.336 MB / 0.5417 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 7.42e-05/1.101, allocations: 116.9 kB / 0.8685 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/1.101, allocations: 4 kB / 0.8685 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/1.101, allocations: 3.75 kB / 0.8685 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.101, allocations: 4 kB / 0.8685 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.101, allocations: 3.906 kB / 0.8685 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.101, allocations: 0 / 0.8685 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/1.101, allocations: 154.2 kB / 0.8686 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.101, allocations: 0 / 0.8686 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/1.101, allocations: 15.98 kB / 0.8686 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.101, allocations: 4 kB / 0.8686 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.101, allocations: 4 kB / 0.8687 GB, free: 1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.101, allocations: 3.047 kB / 0.8687 GB, free: 1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.101, allocations: 4 kB / 0.8687 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/1.101, allocations: 348.5 kB / 0.869 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003734/1.102, allocations: 0.7181 MB / 0.8697 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/1.102, allocations: 92.69 kB / 0.8698 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/1.102, allocations: 0 / 0.8698 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.102, allocations: 8 kB / 0.8698 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/1.102, allocations: 3.938 kB / 0.8698 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.102, allocations: 7.984 kB / 0.8698 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.444e-05/1.102, allocations: 79.28 kB / 0.8699 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008851/1.103, allocations: 12 kB / 0.8699 GB, free: 15.69 MB / 0.5573 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.000151/1.103, allocations: 110.9 kB / 0.87 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/1.103, allocations: 43.17 kB / 0.87 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.103, allocations: 0 / 0.87 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/1.103, allocations: 15.94 kB / 0.8701 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.104, allocations: 7.812 kB / 0.8701 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/1.104, allocations: 268.1 kB / 0.8703 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/1.104, allocations: 0.7134 MB / 0.871 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/1.104, allocations: 0 / 0.871 GB, free: 14.5 MB / 0.5573 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)