Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_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.00484/0.00484, allocations: 184.4 kB / 7.462 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7415/0.7415, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.607/1.607, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009985/0.0009988, allocations: 94.77 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4953/0.4964, allocations: 88.44 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.6892, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.495, allocations: 323.9 MB / 0.9496 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.496, allocations: 76.39 kB / 0.9497 GB, free: 6.395 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.01986/1.516, allocations: 8.262 MB / 0.9578 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.516, allocations: 8 kB / 0.9578 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/1.516, allocations: 15.89 kB / 0.9578 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.516, allocations: 174.8 kB / 0.9579 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/1.516, allocations: 0 / 0.9579 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/1.516, allocations: 7.906 kB / 0.958 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.229e-05/1.516, allocations: 11.98 kB / 0.958 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.516, allocations: 59.95 kB / 0.958 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.516, allocations: 7.938 kB / 0.958 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.516, allocations: 0 / 0.958 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.516, allocations: 4 kB / 0.958 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/1.517, allocations: 428.6 kB / 0.9584 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.517, allocations: 70.23 kB / 0.9585 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/1.517, allocations: 21.95 kB / 0.9585 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/1.517, allocations: 0 / 0.9585 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.517, allocations: 30.56 kB / 0.9586 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/1.517, allocations: 8 kB / 0.9586 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006444/1.518, allocations: 282 kB / 0.9588 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.518, allocations: 102.8 kB / 0.9589 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/1.518, allocations: 92.19 kB / 0.959 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/1.518, allocations: 25.7 kB / 0.959 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/1.518, allocations: 100 kB / 0.9591 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.518, allocations: 25.19 kB / 0.9592 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.518, allocations: 0 / 0.9592 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.518, allocations: 321.8 kB / 0.9595 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/1.518, allocations: 11.19 kB / 0.9595 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/1.518, allocations: 43.72 kB / 0.9595 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/1.518, allocations: 22.92 kB / 0.9595 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.518, allocations: 4 kB / 0.9596 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000122/1.519, allocations: 80.69 kB / 0.9596 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.519, allocations: 4 kB / 0.9596 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.519, allocations: 0 / 0.9596 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.519, allocations: 4 kB / 0.9596 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/1.519, allocations: 24.06 kB / 0.9597 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/1.519, allocations: 7.938 kB / 0.9597 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/1.519, allocations: 0 / 0.9597 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/1.519, allocations: 8.031 kB / 0.9597 GB, free: 13.58 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 7.538e-05/1.519, allocations: 108.1 kB / 0.9598 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/1.519, allocations: 7.984 kB / 0.9598 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/1.519, allocations: 9.938 kB / 0.9598 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.519, allocations: 0 / 0.9598 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.519, allocations: 0 / 0.9598 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.519, allocations: 7.906 kB / 0.9598 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/1.519, allocations: 153.4 kB / 0.9599 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.519, allocations: 0 / 0.9599 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/1.519, allocations: 23.92 kB / 0.96 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.519, allocations: 0 / 0.96 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.519, allocations: 0 / 0.96 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.519, allocations: 4 kB / 0.96 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.519, allocations: 0 / 0.96 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/1.52, allocations: 347.5 kB / 0.9603 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003281/1.52, allocations: 0.715 MB / 0.961 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/1.52, allocations: 88.95 kB / 0.9611 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.52, allocations: 12.05 kB / 0.9611 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/1.52, allocations: 0 / 0.9611 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/1.52, allocations: 7.688 kB / 0.9611 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.52, allocations: 0 / 0.9611 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.413e-05/1.52, allocations: 79.28 kB / 0.9612 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008472/1.521, allocations: 19.98 kB / 0.9612 GB, free: 11.93 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.0001604/1.521, allocations: 118.7 kB / 0.9613 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/1.522, allocations: 35.62 kB / 0.9613 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.522, allocations: 0 / 0.9613 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/1.522, allocations: 15.56 kB / 0.9614 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/1.522, allocations: 13.91 kB / 0.9614 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/1.522, allocations: 271.7 kB / 0.9616 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.523, allocations: 0.7075 MB / 0.9623 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.523, allocations: 0 / 0.9623 GB, free: 10.73 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)