Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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/BuildingSystems 2.0.0-master/package.mo): time 0.6857/0.6857, allocations: 141.8 MB / 149.1 MB, free: 11.9 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 175.9 kB / 181.9 MB, free: 8.68 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.3 MB / 436 MB, free: 0.9414 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.00098, allocations: 99.86 kB / 0.507 GB, free: 9.902 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 279.7 kB / 0.5884 GB, free: 6.715 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3495/0.3513, allocations: 89.63 MB / 0.676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.5035, allocations: 82.78 MB / 0.7568 GB, free: 117.1 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.337/3.841, allocations: 1.881 GB / 2.638 GB, free: 102.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/3.841, allocations: 75.94 kB / 2.638 GB, free: 102.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0928/3.934, allocations: 48.05 MB / 2.685 GB, free: 54.14 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/3.934, allocations: 8 kB / 2.685 GB, free: 54.13 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/3.935, allocations: 147.5 kB / 2.685 GB, free: 53.98 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/3.935, allocations: 222.7 kB / 2.685 GB, free: 53.73 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/3.935, allocations: 8 kB / 2.685 GB, free: 53.72 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/3.935, allocations: 15.94 kB / 2.685 GB, free: 53.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004511/3.936, allocations: 320.6 kB / 2.686 GB, free: 53.39 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/3.936, allocations: 285.8 kB / 2.686 GB, free: 53.09 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/3.936, allocations: 3.938 kB / 2.686 GB, free: 53.09 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/3.936, allocations: 4 kB / 2.686 GB, free: 53.09 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/3.936, allocations: 12 kB / 2.686 GB, free: 53.07 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/3.938, allocations: 1.109 MB / 2.687 GB, free: 51.88 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/3.938, allocations: 186.7 kB / 2.687 GB, free: 51.68 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/3.938, allocations: 77.12 kB / 2.687 GB, free: 51.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/3.939, allocations: 360.3 kB / 2.687 GB, free: 51.18 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/3.939, allocations: 30.56 kB / 2.688 GB, free: 51.14 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/3.939, allocations: 4 kB / 2.688 GB, free: 51.13 MB / 0.6982 GB Notification: Performance of matching and sorting (n=21): time 0.0004572/3.939, allocations: 192 kB / 2.688 GB, free: 50.94 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/3.939, allocations: 55.41 kB / 2.688 GB, free: 50.88 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/3.939, allocations: 149.2 kB / 2.688 GB, free: 50.72 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/3.939, allocations: 25.7 kB / 2.688 GB, free: 50.69 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/3.939, allocations: 151.8 kB / 2.688 GB, free: 50.54 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/3.939, allocations: 66.95 kB / 2.688 GB, free: 50.47 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/3.939, allocations: 0 / 2.688 GB, free: 50.47 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/3.939, allocations: 326.8 kB / 2.688 GB, free: 50.14 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/3.939, allocations: 72.23 kB / 2.689 GB, free: 50.07 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/3.94, allocations: 147.6 kB / 2.689 GB, free: 49.89 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/3.94, allocations: 96.58 kB / 2.689 GB, free: 49.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/3.94, allocations: 0 / 2.689 GB, free: 49.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003932/3.94, allocations: 253.1 kB / 2.689 GB, free: 49.54 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.94, allocations: 14.64 kB / 2.689 GB, free: 49.53 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/3.94, allocations: 0 / 2.689 GB, free: 49.53 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/3.94, allocations: 8 kB / 2.689 GB, free: 49.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/3.94, allocations: 55.92 kB / 2.689 GB, free: 49.47 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/3.941, allocations: 12.22 kB / 2.689 GB, free: 49.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/3.941, allocations: 27.73 kB / 2.689 GB, free: 49.43 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/3.941, allocations: 12 kB / 2.689 GB, free: 49.42 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.064e-05/3.941, allocations: 108.9 kB / 2.689 GB, free: 49.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/3.941, allocations: 19.81 kB / 2.689 GB, free: 49.29 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/3.941, allocations: 225.1 kB / 2.689 GB, free: 49.07 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/3.941, allocations: 8 kB / 2.689 GB, free: 49.06 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/3.941, allocations: 4 kB / 2.689 GB, free: 49.05 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/3.941, allocations: 0 / 2.689 GB, free: 49.05 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/3.942, allocations: 0.4886 MB / 2.69 GB, free: 48.52 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/3.942, allocations: 0 / 2.69 GB, free: 48.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/3.942, allocations: 39.92 kB / 2.69 GB, free: 48.48 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/3.942, allocations: 0 / 2.69 GB, free: 48.48 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/3.942, allocations: 4 kB / 2.69 GB, free: 48.47 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/3.942, allocations: 64 / 2.69 GB, free: 48.47 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/3.942, allocations: 4 kB / 2.69 GB, free: 48.47 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003347/3.942, allocations: 320.3 kB / 2.69 GB, free: 48.12 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004083/3.943, allocations: 0.7115 MB / 2.691 GB, free: 47.37 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/3.943, allocations: 120.8 kB / 2.691 GB, free: 47.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/3.943, allocations: 0 / 2.691 GB, free: 47.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/3.943, allocations: 19.98 kB / 2.691 GB, free: 47.21 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/3.943, allocations: 7.984 kB / 2.691 GB, free: 47.21 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/3.943, allocations: 12 kB / 2.691 GB, free: 47.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 4.959e-05/3.943, allocations: 114.6 kB / 2.691 GB, free: 47.09 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001167/3.945, allocations: 203.8 kB / 2.691 GB, free: 46.89 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007758/3.945, allocations: 0.7323 MB / 2.692 GB, free: 46.15 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.000261/3.946, allocations: 181.9 kB / 2.692 GB, free: 45.97 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/3.946, allocations: 0 / 2.692 GB, free: 45.97 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/3.946, allocations: 91.52 kB / 2.692 GB, free: 45.89 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/3.946, allocations: 56.67 kB / 2.692 GB, free: 45.83 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/3.947, allocations: 218 kB / 2.693 GB, free: 45.59 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/3.947, allocations: 0.7648 MB / 2.693 GB, free: 44.8 MB / 0.6982 GB Notification: Performance of SimCode: time 7.71e-07/3.947, allocations: 0 / 2.693 GB, free: 44.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)