Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",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.003955/0.003955, allocations: 181.6 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8556/0.8556, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.538/1.538, allocations: 221.3 MB / 395 MB, free: 10.13 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.001027/0.001027, allocations: 97.44 kB / 477.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.474/0.475, allocations: 88.41 MB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.6557, allocations: 82.3 MB / 0.6333 GB, free: 13.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.752, allocations: 403.2 MB / 1.027 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.752, allocations: 75.95 kB / 1.027 GB, free: 231.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0268/1.779, allocations: 13.85 MB / 1.041 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.779, allocations: 12 kB / 1.041 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.779, allocations: 15.81 kB / 1.041 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.779, allocations: 243.9 kB / 1.041 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/1.78, allocations: 19.98 kB / 1.041 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/1.78, allocations: 11.94 kB / 1.041 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006921/1.78, allocations: 0.6164 MB / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.781, allocations: 217 kB / 1.042 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.781, allocations: 0 / 1.042 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/1.781, allocations: 0 / 1.042 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.781, allocations: 4 kB / 1.042 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/1.781, allocations: 281.7 kB / 1.042 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/1.781, allocations: 414.8 kB / 1.042 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/1.781, allocations: 165.7 kB / 1.043 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/1.782, allocations: 388.3 kB / 1.043 GB, free: 215 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/1.782, allocations: 34.56 kB / 1.043 GB, free: 215 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/1.782, allocations: 4 kB / 1.043 GB, free: 215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.00283/1.785, allocations: 0.6955 MB / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/1.785, allocations: 55.41 kB / 1.044 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/1.785, allocations: 120.3 kB / 1.044 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/1.785, allocations: 29.64 kB / 1.044 GB, free: 214 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/1.785, allocations: 84.78 kB / 1.044 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/1.785, allocations: 118.2 kB / 1.044 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/1.785, allocations: 0 / 1.044 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/1.785, allocations: 334.7 kB / 1.044 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.785, allocations: 135.9 kB / 1.044 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/1.785, allocations: 136.2 kB / 1.045 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/1.788, allocations: 496.7 kB / 1.045 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.788, allocations: 0 / 1.045 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002752/1.791, allocations: 0.6919 MB / 1.046 GB, free: 212 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.791, allocations: 8 kB / 1.046 GB, free: 212 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.791, allocations: 3.984 kB / 1.046 GB, free: 212 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.791, allocations: 0 / 1.046 GB, free: 212 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/1.791, allocations: 119.9 kB / 1.046 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.791, allocations: 4 kB / 1.046 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.791, allocations: 63.7 kB / 1.046 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/1.791, allocations: 11.98 kB / 1.046 GB, free: 211.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.111e-05/1.791, allocations: 108.9 kB / 1.046 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/1.791, allocations: 15.81 kB / 1.046 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/1.794, allocations: 0.7674 MB / 1.047 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.794, allocations: 4 kB / 1.047 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.794, allocations: 3.938 kB / 1.047 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.794, allocations: 3.984 kB / 1.047 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/1.795, allocations: 285.8 kB / 1.047 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.795, allocations: 0 / 1.047 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/1.795, allocations: 115.9 kB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/1.795, allocations: 3.984 kB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/1.795, allocations: 12 kB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.795, allocations: 0 / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.795, allocations: 0 / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002717/1.798, allocations: 0.734 MB / 1.048 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002722/1.801, allocations: 1.122 MB / 1.049 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/1.801, allocations: 92.86 kB / 1.049 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/1.801, allocations: 0 / 1.049 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.801, allocations: 51.95 kB / 1.049 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.801, allocations: 79.86 kB / 1.049 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/1.801, allocations: 19.98 kB / 1.049 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.575e-05/1.801, allocations: 95.27 kB / 1.049 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009567/1.802, allocations: 127.8 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0004768/1.803, allocations: 241.1 kB / 1.05 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004358/1.803, allocations: 347.5 kB / 1.05 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.803, allocations: 0 / 1.05 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/1.803, allocations: 211.5 kB / 1.05 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/1.804, allocations: 54.86 kB / 1.05 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/1.804, allocations: 308.5 kB / 1.051 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/1.805, allocations: 0.7869 MB / 1.051 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/1.805, allocations: 4 kB / 1.051 GB, free: 206.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)