Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.629/2.629, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002052/0.002052, allocations: 185.2 kB / 360.3 MB, free: 7.535 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.95/1.95, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001249/0.001248, allocations: 82.19 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2718/0.2731, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.9329, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/6.361, allocations: 2.062 GB / 3.025 GB, free: 274 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/6.361, allocations: 83.62 kB / 3.025 GB, free: 274 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 2.161/8.522, allocations: 426.8 MB / 3.442 GB, free: 231.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/8.522, allocations: 8.312 kB / 3.442 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/8.526, allocations: 271.5 kB / 3.442 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/8.527, allocations: 485.5 kB / 3.442 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/8.527, allocations: 15.34 kB / 3.443 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/8.527, allocations: 26.84 kB / 3.443 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/8.529, allocations: 392.2 kB / 3.443 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/8.53, allocations: 497.9 kB / 3.443 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/8.53, allocations: 0 / 3.443 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/8.53, allocations: 0 / 3.443 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/8.53, allocations: 11.09 kB / 3.443 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/8.534, allocations: 2.134 MB / 3.445 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/8.535, allocations: 380.1 kB / 3.446 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/8.536, allocations: 195.4 kB / 3.446 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/8.537, allocations: 0.6376 MB / 3.447 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005815/8.537, allocations: 250.3 kB / 3.447 GB, free: 229.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.577e-06/8.537, allocations: 0 / 3.447 GB, free: 229.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0035/8.541, allocations: 0.6217 MB / 3.447 GB, free: 229 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/8.541, allocations: 56.25 kB / 3.448 GB, free: 229 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/8.541, allocations: 304.3 kB / 3.448 GB, free: 228.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/8.542, allocations: 33.39 kB / 3.448 GB, free: 228.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/8.542, allocations: 213.2 kB / 3.448 GB, free: 228.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/8.542, allocations: 126.9 kB / 3.448 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/8.542, allocations: 0 / 3.448 GB, free: 228.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/8.542, allocations: 357.3 kB / 3.449 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/8.542, allocations: 144 kB / 3.449 GB, free: 228.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/8.543, allocations: 271.7 kB / 3.449 GB, free: 228.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/8.544, allocations: 236.6 kB / 3.449 GB, free: 228.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/8.544, allocations: 0 / 3.449 GB, free: 228.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001847/8.546, allocations: 0.5137 MB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/8.546, allocations: 5.375 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/8.546, allocations: 5.031 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/8.546, allocations: 5.125 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/8.547, allocations: 112.2 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/8.547, allocations: 7.156 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.548, allocations: 87.28 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/8.548, allocations: 20.66 kB / 3.45 GB, free: 228.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001733/8.548, allocations: 120.8 kB / 3.45 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/8.549, allocations: 48.67 kB / 3.45 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/8.55, allocations: 480.9 kB / 3.451 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/8.55, allocations: 4.438 kB / 3.451 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/8.55, allocations: 0 / 3.451 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/8.55, allocations: 7.922 kB / 3.451 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/8.554, allocations: 1.22 MB / 3.452 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/8.554, allocations: 6.734 kB / 3.452 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/8.555, allocations: 90.52 kB / 3.452 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/8.555, allocations: 5.688 kB / 3.452 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/8.555, allocations: 10.19 kB / 3.452 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/8.555, allocations: 6.625 kB / 3.452 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/8.555, allocations: 8.625 kB / 3.452 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002182/8.557, allocations: 0.9823 MB / 3.453 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003124/8.56, allocations: 1.659 MB / 3.454 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/8.56, allocations: 165.7 kB / 3.455 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/8.561, allocations: 7.438 kB / 3.455 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/8.562, allocations: 51.97 kB / 3.455 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/8.562, allocations: 50.2 kB / 3.455 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/8.562, allocations: 21.53 kB / 3.455 GB, free: 226 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004032/8.562, allocations: 236.7 kB / 3.455 GB, free: 226 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002941/8.565, allocations: 427.5 kB / 3.455 GB, free: 225.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003437/8.569, allocations: 1.666 MB / 3.457 GB, free: 225.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001301/8.57, allocations: 424.1 kB / 3.457 GB, free: 225.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/8.57, allocations: 1.469 kB / 3.457 GB, free: 225.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000845/8.571, allocations: 241.5 kB / 3.458 GB, free: 225.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/8.573, allocations: 181.2 kB / 3.458 GB, free: 225.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/8.576, allocations: 0.7994 MB / 3.459 GB, free: 225.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/8.576, allocations: 0.9326 MB / 3.459 GB, free: 224.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/8.576, allocations: 3.594 kB / 3.459 GB, free: 224.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)