Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_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.003961/0.003961, allocations: 183.5 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7955/0.7955, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.467/1.467, allocations: 221.3 MB / 395 MB, free: 10.24 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.001029/0.001029, allocations: 102.3 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4839/0.485, allocations: 88.42 MB / 0.5529 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.6655, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/2.005, allocations: 403.2 MB / 1.027 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/2.006, allocations: 75.95 kB / 1.027 GB, free: 231.7 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.02904/2.035, allocations: 13.87 MB / 1.041 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/2.035, allocations: 8 kB / 1.041 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/2.035, allocations: 19.81 kB / 1.041 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/2.035, allocations: 236.4 kB / 1.041 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/2.035, allocations: 19.98 kB / 1.041 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/2.035, allocations: 8 kB / 1.041 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007618/2.036, allocations: 0.6203 MB / 1.042 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/2.036, allocations: 224.9 kB / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/2.036, allocations: 0 / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/2.037, allocations: 0 / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/2.037, allocations: 4 kB / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/2.037, allocations: 277.8 kB / 1.042 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/2.037, allocations: 414.8 kB / 1.042 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/2.037, allocations: 169.7 kB / 1.043 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/2.038, allocations: 384.4 kB / 1.043 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/2.038, allocations: 34.56 kB / 1.043 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/2.038, allocations: 0 / 1.043 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002991/2.041, allocations: 0.6994 MB / 1.044 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/2.041, allocations: 63.39 kB / 1.044 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/2.041, allocations: 110 kB / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/2.041, allocations: 25.7 kB / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/2.041, allocations: 92.78 kB / 1.044 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/2.041, allocations: 114.2 kB / 1.044 GB, free: 214 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/2.041, allocations: 0 / 1.044 GB, free: 214 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/2.041, allocations: 334.7 kB / 1.044 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/2.042, allocations: 127.9 kB / 1.044 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/2.042, allocations: 144.2 kB / 1.045 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/2.044, allocations: 496.7 kB / 1.045 GB, free: 213 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/2.044, allocations: 0 / 1.045 GB, free: 213 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002732/2.047, allocations: 0.6958 MB / 1.046 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/2.047, allocations: 7.984 kB / 1.046 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/2.047, allocations: 0 / 1.046 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/2.047, allocations: 0 / 1.046 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/2.048, allocations: 115.9 kB / 1.046 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/2.048, allocations: 4 kB / 1.046 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/2.048, allocations: 63.7 kB / 1.046 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/2.048, allocations: 15.98 kB / 1.046 GB, free: 212.1 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.75e-05/2.048, allocations: 104.9 kB / 1.046 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/2.048, allocations: 23.75 kB / 1.046 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/2.051, allocations: 0.7597 MB / 1.047 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/2.051, allocations: 4 kB / 1.047 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.051, allocations: 4 kB / 1.047 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/2.051, allocations: 3.984 kB / 1.047 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/2.051, allocations: 289.7 kB / 1.047 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.051, allocations: 0 / 1.047 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/2.052, allocations: 119.8 kB / 1.047 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/2.052, allocations: 4 kB / 1.047 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/2.052, allocations: 4 kB / 1.047 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/2.052, allocations: 4 kB / 1.047 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.052, allocations: 0 / 1.047 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002739/2.054, allocations: 0.7379 MB / 1.048 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002919/2.057, allocations: 1.114 MB / 1.049 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/2.057, allocations: 96.86 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/2.057, allocations: 0 / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/2.058, allocations: 47.95 kB / 1.049 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/2.058, allocations: 83.86 kB / 1.049 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/2.058, allocations: 11.98 kB / 1.049 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.96e-05/2.058, allocations: 101.6 kB / 1.049 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001084/2.059, allocations: 131.8 kB / 1.05 GB, free: 208.3 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.0006453/2.06, allocations: 245 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004776/2.06, allocations: 347.5 kB / 1.05 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.06, allocations: 0 / 1.05 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/2.06, allocations: 203.5 kB / 1.05 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/2.061, allocations: 55.89 kB / 1.05 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/2.061, allocations: 312.4 kB / 1.051 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/2.062, allocations: 0.7869 MB / 1.051 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/2.062, allocations: 0 / 1.051 GB, free: 206.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)