Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",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.717/0.717, allocations: 141.8 MB / 149.1 MB, free: 1.375 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 190.4 kB / 182 MB, free: 13.46 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.415/1.415, allocations: 221.3 MB / 436 MB, free: 6.34 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.0009388/0.0009389, allocations: 87.95 kB / 0.507 GB, free: 19.03 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 277.3 kB / 0.5885 GB, free: 7.402 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4478/0.4497, allocations: 89.64 MB / 0.676 GB, free: 140.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.6178, allocations: 82.78 MB / 0.7568 GB, free: 89.74 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.335/3.953, allocations: 1.826 GB / 2.583 GB, free: 200 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/3.953, allocations: 87.94 kB / 2.583 GB, free: 199.9 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.6742/4.628, allocations: 210.3 MB / 2.788 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/4.628, allocations: 9.25 kB / 2.788 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/4.628, allocations: 29.94 kB / 2.788 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/4.628, allocations: 275.9 kB / 2.788 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/4.628, allocations: 6.594 kB / 2.788 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/4.628, allocations: 14.97 kB / 2.788 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001968/4.628, allocations: 100.1 kB / 2.788 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/4.629, allocations: 213.6 kB / 2.789 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/4.629, allocations: 6.438 kB / 2.789 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/4.629, allocations: 3.5 kB / 2.789 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/4.629, allocations: 3.781 kB / 2.789 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/4.63, allocations: 1.291 MB / 2.79 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/4.63, allocations: 150.2 kB / 2.79 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/4.63, allocations: 82.06 kB / 2.79 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/4.63, allocations: 120.1 kB / 2.79 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/4.63, allocations: 44.22 kB / 2.79 GB, free: 196 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/4.63, allocations: 0 / 2.79 GB, free: 196 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10): time 0.0004681/4.631, allocations: 143.1 kB / 2.79 GB, free: 196 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/4.631, allocations: 186 kB / 2.791 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/4.631, allocations: 160 kB / 2.791 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/4.631, allocations: 31.77 kB / 2.791 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/4.631, allocations: 145.5 kB / 2.791 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/4.631, allocations: 36.47 kB / 2.791 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/4.631, allocations: 0 / 2.791 GB, free: 195.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.534e-05/4.631, allocations: 334.8 kB / 2.791 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/4.631, allocations: 26.38 kB / 2.791 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/4.631, allocations: 107.1 kB / 2.791 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/4.632, allocations: 67.31 kB / 2.791 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/4.632, allocations: 0 / 2.791 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002947/4.632, allocations: 165.1 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/4.632, allocations: 6.281 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/4.632, allocations: 7.844 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/4.632, allocations: 0 / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/4.632, allocations: 36.5 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/4.632, allocations: 3.844 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/4.632, allocations: 30.3 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/4.632, allocations: 7.625 kB / 2.792 GB, free: 195.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.49e-05/4.632, allocations: 106.7 kB / 2.792 GB, free: 195 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/4.633, allocations: 25.78 kB / 2.792 GB, free: 195 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/4.633, allocations: 115.4 kB / 2.792 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/4.633, allocations: 0 / 2.792 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.633, allocations: 7.656 kB / 2.792 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/4.633, allocations: 0 / 2.792 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/4.634, allocations: 0.7293 MB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.634, allocations: 3.5 kB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/4.634, allocations: 29.23 kB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/4.634, allocations: 3.375 kB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/4.634, allocations: 1.25 kB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/4.634, allocations: 6.969 kB / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/4.634, allocations: 0 / 2.793 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003534/4.634, allocations: 368.8 kB / 2.793 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005335/4.635, allocations: 0.8094 MB / 2.794 GB, free: 193.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/4.635, allocations: 100.4 kB / 2.794 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/4.635, allocations: 6.859 kB / 2.794 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/4.635, allocations: 11.12 kB / 2.794 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/4.635, allocations: 12.59 kB / 2.794 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/4.635, allocations: 10.23 kB / 2.794 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 9.203e-05/4.635, allocations: 135.8 kB / 2.794 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001353/4.636, allocations: 236.2 kB / 2.794 GB, free: 193.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001254/4.638, allocations: 1.135 MB / 2.795 GB, free: 193 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001665/4.638, allocations: 84.78 kB / 2.796 GB, free: 193 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/4.638, allocations: 2.812 kB / 2.796 GB, free: 193 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/4.638, allocations: 36.91 kB / 2.796 GB, free: 193 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/4.638, allocations: 63.7 kB / 2.796 GB, free: 193 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/4.639, allocations: 338.4 kB / 2.796 GB, free: 192.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/4.639, allocations: 0.7896 MB / 2.797 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of SimCode: time 2.61e-07/4.639, allocations: 0 / 2.797 GB, free: 192.2 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)