Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.944/1.944, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 189.2 kB / 487 MB, free: 5.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 96.19 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4588/0.4597, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.6633, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7458/1.409, allocations: 360.4 MB / 1.557 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.41, allocations: 78 kB / 1.557 GB, free: 13.88 MB / 0.9948 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.01995/1.429, allocations: 8.249 MB / 1.565 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.43, allocations: 9 kB / 1.565 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/1.43, allocations: 23.33 kB / 1.565 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/1.43, allocations: 163.1 kB / 1.566 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/1.43, allocations: 4 kB / 1.566 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/1.43, allocations: 4 kB / 1.566 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.646e-05/1.43, allocations: 7.984 kB / 1.566 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/1.43, allocations: 63.86 kB / 1.566 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.43, allocations: 3.938 kB / 1.566 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/1.43, allocations: 0 / 1.566 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.43, allocations: 3.984 kB / 1.566 GB, free: 6.938 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/1.431, allocations: 444.8 kB / 1.566 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.431, allocations: 62.23 kB / 1.566 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/1.431, allocations: 26.95 kB / 1.566 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/1.431, allocations: 0 / 1.566 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.431, allocations: 34.56 kB / 1.566 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/1.431, allocations: 0 / 1.566 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0005717/1.432, allocations: 283.7 kB / 1.566 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.432, allocations: 110.9 kB / 1.567 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/1.432, allocations: 88.5 kB / 1.567 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.432, allocations: 29.7 kB / 1.567 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/1.432, allocations: 84.05 kB / 1.567 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/1.432, allocations: 31.17 kB / 1.567 GB, free: 5.617 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.432, allocations: 3.938 kB / 1.567 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.432, allocations: 314.5 kB / 1.567 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/1.432, allocations: 12 kB / 1.567 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/1.432, allocations: 47.33 kB / 1.567 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/1.432, allocations: 23.73 kB / 1.567 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.432, allocations: 0 / 1.567 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001263/1.432, allocations: 80.59 kB / 1.567 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.432, allocations: 4 kB / 1.567 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.432, allocations: 8 kB / 1.567 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.432, allocations: 0 / 1.567 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/1.432, allocations: 27.55 kB / 1.567 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.432, allocations: 4 kB / 1.567 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/1.432, allocations: 0 / 1.567 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.432, allocations: 7.984 kB / 1.567 GB, free: 5.086 MB / 0.9948 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.672e-05/1.432, allocations: 109.1 kB / 1.567 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/1.433, allocations: 7.891 kB / 1.567 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/1.433, allocations: 11.5 kB / 1.567 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.433, allocations: 0 / 1.567 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.433, allocations: 0 / 1.567 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.433, allocations: 8.406 kB / 1.567 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/1.433, allocations: 148.9 kB / 1.568 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.433, allocations: 7.938 kB / 1.568 GB, free: 4.766 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/1.433, allocations: 12 kB / 1.568 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.433, allocations: 0 / 1.568 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.433, allocations: 8 kB / 1.568 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.433, allocations: 3.984 kB / 1.568 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.433, allocations: 0 / 1.568 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002525/1.433, allocations: 346.8 kB / 1.568 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000363/1.434, allocations: 0.7247 MB / 1.569 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/1.434, allocations: 77.11 kB / 1.569 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.434, allocations: 7.906 kB / 1.569 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/1.434, allocations: 7.984 kB / 1.569 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/1.434, allocations: 4 kB / 1.569 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/1.434, allocations: 7.062 kB / 1.569 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.075e-05/1.434, allocations: 75.28 kB / 1.569 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008964/1.435, allocations: 12 kB / 1.569 GB, free: 3.445 MB / 0.9948 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.0001667/1.435, allocations: 116.5 kB / 1.569 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.639e-05/1.435, allocations: 38.94 kB / 1.569 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.435, allocations: 3.938 kB / 1.569 GB, free: 3.285 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/1.435, allocations: 15.44 kB / 1.569 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/1.436, allocations: 4 kB / 1.569 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/1.436, allocations: 279.2 kB / 1.569 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.436, allocations: 0.6997 MB / 1.57 GB, free: 2.25 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/1.436, allocations: 4 kB / 1.57 GB, free: 2.246 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat