Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",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.7289/0.7289, allocations: 141.8 MB / 149.1 MB, free: 12.65 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.001136/0.001136, allocations: 187 kB / 182 MB, free: 9.371 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.285/1.285, allocations: 221.3 MB / 436 MB, free: 1.762 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.0009794/0.0009795, allocations: 96.09 kB / 0.507 GB, free: 10.57 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 287.8 kB / 0.5884 GB, free: 7.406 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1817/0.1835, allocations: 89.64 MB / 0.676 GB, free: 13.67 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.5485, allocations: 82.76 MB / 0.7568 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.231/3.779, allocations: 1.834 GB / 2.59 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/3.78, allocations: 96.59 kB / 2.59 GB, free: 202.4 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.763/5.542, allocations: 0.6097 GB / 3.2 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/5.542, allocations: 8 kB / 3.2 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/5.545, allocations: 285.7 kB / 3.2 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/5.546, allocations: 0.5803 MB / 3.201 GB, free: 105.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/5.546, allocations: 27.98 kB / 3.201 GB, free: 105.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/5.546, allocations: 44 kB / 3.201 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008514/5.547, allocations: 0.5194 MB / 3.202 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/5.548, allocations: 0.7841 MB / 3.202 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/5.548, allocations: 0 / 3.202 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/5.548, allocations: 3.938 kB / 3.202 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/5.548, allocations: 49.14 kB / 3.202 GB, free: 104 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/5.552, allocations: 3.691 MB / 3.206 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/5.552, allocations: 186.9 kB / 3.206 GB, free: 99.93 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/5.552, allocations: 132.6 kB / 3.206 GB, free: 99.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/5.552, allocations: 0.632 MB / 3.207 GB, free: 99.05 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/5.553, allocations: 34.5 kB / 3.207 GB, free: 99 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/5.553, allocations: 0 / 3.207 GB, free: 99 MB / 0.6982 GB Notification: Performance of matching and sorting (n=19): time 0.001568/5.554, allocations: 418.2 kB / 3.207 GB, free: 98.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/5.554, allocations: 106.7 kB / 3.207 GB, free: 98.47 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/5.555, allocations: 349.2 kB / 3.208 GB, free: 98.12 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/5.555, allocations: 25.7 kB / 3.208 GB, free: 98.09 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/5.555, allocations: 362.8 kB / 3.208 GB, free: 97.73 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/5.555, allocations: 63.05 kB / 3.208 GB, free: 97.67 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/5.555, allocations: 2.938 kB / 3.208 GB, free: 97.67 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.693e-05/5.555, allocations: 354.8 kB / 3.209 GB, free: 97.31 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/5.555, allocations: 79.97 kB / 3.209 GB, free: 97.23 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/5.555, allocations: 212.7 kB / 3.209 GB, free: 96.98 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/5.555, allocations: 155.4 kB / 3.209 GB, free: 96.83 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.555, allocations: 0 / 3.209 GB, free: 96.83 MB / 0.6982 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005641/5.556, allocations: 355.8 kB / 3.209 GB, free: 96.48 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/5.556, allocations: 7.984 kB / 3.209 GB, free: 96.48 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/5.556, allocations: 4 kB / 3.209 GB, free: 96.47 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/5.556, allocations: 4 kB / 3.209 GB, free: 96.47 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/5.556, allocations: 63.47 kB / 3.209 GB, free: 96.41 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/5.556, allocations: 8 kB / 3.209 GB, free: 96.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/5.557, allocations: 49.11 kB / 3.209 GB, free: 96.36 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/5.557, allocations: 16 kB / 3.209 GB, free: 96.34 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 (32): * Single equations (assignments): 32 * 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.496e-05/5.557, allocations: 120.8 kB / 3.21 GB, free: 96.22 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/5.557, allocations: 43.44 kB / 3.21 GB, free: 96.18 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/5.558, allocations: 267.6 kB / 3.21 GB, free: 95.91 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/5.558, allocations: 7.906 kB / 3.21 GB, free: 95.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/5.558, allocations: 0 / 3.21 GB, free: 95.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/5.558, allocations: 7.984 kB / 3.21 GB, free: 95.89 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/5.559, allocations: 1.186 MB / 3.211 GB, free: 94.62 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/5.559, allocations: 6.5 kB / 3.211 GB, free: 94.62 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/5.56, allocations: 47.91 kB / 3.211 GB, free: 94.57 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/5.56, allocations: 4 kB / 3.211 GB, free: 94.57 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/5.56, allocations: 8.094 kB / 3.211 GB, free: 94.56 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/5.56, allocations: 15.34 kB / 3.211 GB, free: 94.55 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/5.56, allocations: 4 kB / 3.211 GB, free: 94.55 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005186/5.56, allocations: 0.6257 MB / 3.212 GB, free: 93.78 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008546/5.561, allocations: 1.092 MB / 3.213 GB, free: 92.54 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/5.561, allocations: 140.5 kB / 3.213 GB, free: 92.39 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/5.561, allocations: 11.89 kB / 3.213 GB, free: 92.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/5.562, allocations: 33.97 kB / 3.213 GB, free: 92.35 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/5.562, allocations: 26.77 kB / 3.213 GB, free: 92.32 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/5.562, allocations: 8 kB / 3.213 GB, free: 92.32 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002243/5.562, allocations: 271.2 kB / 3.213 GB, free: 92.05 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002021/5.564, allocations: 0.5683 MB / 3.214 GB, free: 91.49 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002734/5.567, allocations: 2.239 MB / 3.216 GB, free: 89.63 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003707/5.567, allocations: 207.7 kB / 3.216 GB, free: 89.43 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/5.567, allocations: 0 / 3.216 GB, free: 89.43 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/5.567, allocations: 101.3 kB / 3.216 GB, free: 89.33 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/5.568, allocations: 174.2 kB / 3.216 GB, free: 89.16 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/5.57, allocations: 0.8438 MB / 3.217 GB, free: 88.25 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/5.57, allocations: 1.045 MB / 3.218 GB, free: 87.18 MB / 0.6982 GB Notification: Performance of SimCode: time 2.4e-07/5.57, allocations: 0 / 3.218 GB, free: 87.18 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)