Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 185.2 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.2 MB / 0.6187 GB, free: 13.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00213/0.002129, allocations: 91.14 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2688/0.271, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.8753, allocations: 115.2 MB / 0.9627 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.887, allocations: 429.6 MB / 1.382 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.888, allocations: 71.69 kB / 1.382 GB, free: 134.6 MB / 0.8542 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.04563/1.933, allocations: 13.6 MB / 1.396 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.933, allocations: 8.5 kB / 1.396 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/1.934, allocations: 15.81 kB / 1.396 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.934, allocations: 239.7 kB / 1.396 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/1.934, allocations: 19.98 kB / 1.396 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/1.934, allocations: 8 kB / 1.396 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/1.935, allocations: 0.6167 MB / 1.396 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/1.936, allocations: 216.9 kB / 1.397 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.936, allocations: 3.844 kB / 1.397 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/1.936, allocations: 11.88 kB / 1.397 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.936, allocations: 7.938 kB / 1.397 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/1.937, allocations: 265.6 kB / 1.397 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/1.937, allocations: 411.4 kB / 1.397 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/1.938, allocations: 168.6 kB / 1.398 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/1.938, allocations: 395.9 kB / 1.398 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.938, allocations: 37.17 kB / 1.398 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/1.938, allocations: 0 / 1.398 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.004753/1.943, allocations: 0.6952 MB / 1.399 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.943, allocations: 55.41 kB / 1.399 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.943, allocations: 116 kB / 1.399 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/1.943, allocations: 25.7 kB / 1.399 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/1.943, allocations: 88.8 kB / 1.399 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.943, allocations: 115.7 kB / 1.399 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.943, allocations: 4 kB / 1.399 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/1.944, allocations: 325.2 kB / 1.399 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/1.944, allocations: 134.7 kB / 1.399 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/1.944, allocations: 136.8 kB / 1.4 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/1.948, allocations: 495.9 kB / 1.4 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.948, allocations: 0 / 1.4 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004777/1.953, allocations: 0.7023 MB / 1.401 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.953, allocations: 8 kB / 1.401 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.953, allocations: 0 / 1.401 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.953, allocations: 0 / 1.401 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/1.954, allocations: 115.8 kB / 1.401 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.954, allocations: 4 kB / 1.401 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/1.954, allocations: 65.67 kB / 1.401 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/1.955, allocations: 15.8 kB / 1.401 GB, free: 118.2 MB / 0.8542 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 0.0001492/1.955, allocations: 112.6 kB / 1.401 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/1.955, allocations: 19.81 kB / 1.401 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/1.96, allocations: 0.7568 MB / 1.402 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.96, allocations: 4 kB / 1.402 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.96, allocations: 0 / 1.402 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/1.96, allocations: 7.906 kB / 1.402 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/1.961, allocations: 280.8 kB / 1.402 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.961, allocations: 0 / 1.402 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/1.962, allocations: 119.3 kB / 1.402 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.962, allocations: 0 / 1.402 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.962, allocations: 13.67 kB / 1.402 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.962, allocations: 4 kB / 1.402 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.962, allocations: 3.938 kB / 1.402 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004629/1.966, allocations: 0.7435 MB / 1.403 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004672/1.971, allocations: 1.106 MB / 1.404 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/1.971, allocations: 100.8 kB / 1.404 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/1.971, allocations: 0 / 1.404 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/1.972, allocations: 47.97 kB / 1.404 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.972, allocations: 87.22 kB / 1.404 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/1.972, allocations: 8 kB / 1.404 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.914e-05/1.972, allocations: 98.08 kB / 1.404 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00145/1.974, allocations: 127.7 kB / 1.404 GB, free: 114.7 MB / 0.8542 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.0007223/1.974, allocations: 242.8 kB / 1.405 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008753/1.975, allocations: 347.1 kB / 1.405 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.975, allocations: 0 / 1.405 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/1.976, allocations: 206.1 kB / 1.405 GB, free: 114 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/1.976, allocations: 61.56 kB / 1.405 GB, free: 114 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/1.977, allocations: 307 kB / 1.406 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.978, allocations: 0.7819 MB / 1.406 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.193e-06/1.978, allocations: 0 / 1.406 GB, free: 112.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)