Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.971/1.971, allocations: 390.4 MB / 397.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 177.8 kB / 490.8 MB, free: 11.18 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.487/1.487, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 105.8 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.3658, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/1.258, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9888/2.247, allocations: 361.2 MB / 1.564 GB, free: 220.7 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/2.247, allocations: 78.08 kB / 1.564 GB, free: 220.7 MB / 1.026 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.01811/2.265, allocations: 8.255 MB / 1.572 GB, free: 220 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/2.265, allocations: 7.719 kB / 1.572 GB, free: 220 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/2.265, allocations: 19.7 kB / 1.573 GB, free: 220 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/2.266, allocations: 161.4 kB / 1.573 GB, free: 219.8 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/2.266, allocations: 3.938 kB / 1.573 GB, free: 219.8 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/2.266, allocations: 8.75 kB / 1.573 GB, free: 219.8 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.972e-05/2.266, allocations: 5.859 kB / 1.573 GB, free: 219.8 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/2.266, allocations: 66.66 kB / 1.573 GB, free: 219.7 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/2.266, allocations: 0 / 1.573 GB, free: 219.7 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/2.266, allocations: 7.75 kB / 1.573 GB, free: 219.7 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/2.266, allocations: 0.625 kB / 1.573 GB, free: 219.7 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/2.266, allocations: 435.5 kB / 1.573 GB, free: 219.3 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/2.266, allocations: 63.23 kB / 1.573 GB, free: 219.2 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/2.266, allocations: 23.05 kB / 1.573 GB, free: 219.2 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/2.266, allocations: 0 / 1.573 GB, free: 219.2 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/2.266, allocations: 44.16 kB / 1.573 GB, free: 219.2 MB / 1.026 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/2.266, allocations: 0 / 1.573 GB, free: 219.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=7): time 0.0005112/2.267, allocations: 280.5 kB / 1.574 GB, free: 218.9 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/2.267, allocations: 102.8 kB / 1.574 GB, free: 218.8 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.449e-05/2.267, allocations: 99.09 kB / 1.574 GB, free: 218.7 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/2.267, allocations: 26.45 kB / 1.574 GB, free: 218.6 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/2.267, allocations: 86.2 kB / 1.574 GB, free: 218.6 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/2.267, allocations: 24.95 kB / 1.574 GB, free: 218.5 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/2.267, allocations: 0.6875 kB / 1.574 GB, free: 218.5 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/2.267, allocations: 324.7 kB / 1.574 GB, free: 218.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/2.267, allocations: 8.031 kB / 1.574 GB, free: 218.2 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/2.267, allocations: 50.59 kB / 1.574 GB, free: 218.2 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/2.267, allocations: 16.33 kB / 1.574 GB, free: 218.2 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/2.267, allocations: 4 kB / 1.574 GB, free: 218.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001008/2.267, allocations: 79.88 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/2.267, allocations: 3.594 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.267, allocations: 5.891 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/2.267, allocations: 8.438 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/2.268, allocations: 21.92 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/2.268, allocations: 1.547 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/2.268, allocations: 7.812 kB / 1.574 GB, free: 218.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/2.268, allocations: 8.469 kB / 1.574 GB, free: 218.1 MB / 1.026 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 4.853e-05/2.268, allocations: 105.5 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/2.268, allocations: 8.531 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/2.268, allocations: 9.312 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/2.268, allocations: 4.375 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/2.268, allocations: 2.875 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/2.268, allocations: 1.125 kB / 1.575 GB, free: 218 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/2.268, allocations: 152 kB / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/2.268, allocations: 3.906 kB / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/2.268, allocations: 18.34 kB / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/2.268, allocations: 0 / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/2.268, allocations: 0 / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/2.268, allocations: 5.969 kB / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.268, allocations: 0.6562 kB / 1.575 GB, free: 217.9 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001587/2.268, allocations: 341.5 kB / 1.575 GB, free: 217.5 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002129/2.269, allocations: 0.7247 MB / 1.576 GB, free: 216.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/2.269, allocations: 83.98 kB / 1.576 GB, free: 216.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/2.269, allocations: 0.5625 kB / 1.576 GB, free: 216.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/2.269, allocations: 4.781 kB / 1.576 GB, free: 216.8 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/2.269, allocations: 11.56 kB / 1.576 GB, free: 216.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/2.269, allocations: 5.375 kB / 1.576 GB, free: 216.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.796e-05/2.269, allocations: 83.53 kB / 1.576 GB, free: 216.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008652/2.27, allocations: 12.34 kB / 1.576 GB, free: 216.7 MB / 1.026 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.0001578/2.27, allocations: 107.7 kB / 1.576 GB, free: 216.6 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 9.779e-05/2.27, allocations: 41.12 kB / 1.576 GB, free: 216.6 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/2.27, allocations: 0.7812 kB / 1.576 GB, free: 216.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/2.27, allocations: 17.66 kB / 1.576 GB, free: 216.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/2.27, allocations: 9.75 kB / 1.576 GB, free: 216.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/2.271, allocations: 281.4 kB / 1.576 GB, free: 216.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/2.271, allocations: 0.7101 MB / 1.577 GB, free: 215.6 MB / 1.026 GB Notification: Performance of SimCode: time 2.71e-07/2.271, allocations: 3.938 kB / 1.577 GB, free: 215.6 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat