Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001158/0.001158, allocations: 185.2 kB / 366.3 MB, free: 1.977 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.385/1.385, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0009551/0.0009553, allocations: 91.77 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2904/0.2914, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.892, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.98/4.872, allocations: 2.063 GB / 3.036 GB, free: 12.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/4.872, allocations: 80.67 kB / 3.036 GB, free: 12.61 MB / 0.948 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 1.969/6.841, allocations: 426.8 MB / 3.453 GB, free: 235 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/6.841, allocations: 11.38 kB / 3.453 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/6.843, allocations: 276.2 kB / 3.453 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/6.844, allocations: 481.3 kB / 3.454 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/6.844, allocations: 11.22 kB / 3.454 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/6.844, allocations: 29.84 kB / 3.454 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006499/6.845, allocations: 389.7 kB / 3.454 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/6.845, allocations: 490 kB / 3.454 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/6.846, allocations: 3 kB / 3.454 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/6.846, allocations: 3.875 kB / 3.454 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/6.846, allocations: 14.84 kB / 3.454 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/6.849, allocations: 2.128 MB / 3.456 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/6.849, allocations: 371.3 kB / 3.457 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/6.85, allocations: 194.1 kB / 3.457 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/6.85, allocations: 0.6391 MB / 3.458 GB, free: 232.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/6.851, allocations: 250.7 kB / 3.458 GB, free: 232.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 2.906e-06/6.851, allocations: 0 / 3.458 GB, free: 232.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.002265/6.853, allocations: 0.6179 MB / 3.458 GB, free: 232.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/6.853, allocations: 59.73 kB / 3.459 GB, free: 232.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/6.853, allocations: 300.3 kB / 3.459 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/6.854, allocations: 33.73 kB / 3.459 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/6.854, allocations: 217.4 kB / 3.459 GB, free: 232.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/6.854, allocations: 123.6 kB / 3.459 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/6.854, allocations: 0 / 3.459 GB, free: 232.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001223/6.854, allocations: 357.8 kB / 3.46 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/6.854, allocations: 144.2 kB / 3.46 GB, free: 231.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/6.855, allocations: 274.2 kB / 3.46 GB, free: 231.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/6.855, allocations: 234.3 kB / 3.46 GB, free: 231.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/6.855, allocations: 3.375 kB / 3.46 GB, free: 231.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009399/6.856, allocations: 0.5171 MB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/6.856, allocations: 5.062 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/6.856, allocations: 3.938 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/6.856, allocations: 9.031 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/6.857, allocations: 107.3 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/6.857, allocations: 7.203 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/6.857, allocations: 84 kB / 3.461 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/6.857, allocations: 25.3 kB / 3.461 GB, free: 231.7 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.0001368/6.858, allocations: 124.7 kB / 3.461 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/6.858, allocations: 45.28 kB / 3.461 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009211/6.859, allocations: 482.9 kB / 3.462 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/6.859, allocations: 6.594 kB / 3.462 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/6.859, allocations: 0 / 3.462 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/6.859, allocations: 5.734 kB / 3.462 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/6.86, allocations: 1.221 MB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/6.86, allocations: 2.5 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/6.861, allocations: 90.55 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/6.861, allocations: 6.406 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/6.861, allocations: 8.734 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/6.861, allocations: 9.969 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/6.861, allocations: 9.969 kB / 3.463 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001189/6.862, allocations: 0.9935 MB / 3.464 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001722/6.864, allocations: 1.659 MB / 3.465 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/6.864, allocations: 166.4 kB / 3.466 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/6.864, allocations: 6.031 kB / 3.466 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/6.865, allocations: 50.92 kB / 3.466 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/6.865, allocations: 49.69 kB / 3.466 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/6.865, allocations: 17.94 kB / 3.466 GB, free: 229.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002131/6.865, allocations: 233.1 kB / 3.466 GB, free: 229.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001793/6.867, allocations: 424.8 kB / 3.466 GB, free: 229.5 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.002416/6.869, allocations: 1.672 MB / 3.468 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008406/6.87, allocations: 428.2 kB / 3.468 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/6.87, allocations: 0 / 3.468 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/6.871, allocations: 243.8 kB / 3.469 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/6.872, allocations: 174.4 kB / 3.469 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/6.874, allocations: 0.7997 MB / 3.47 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/6.874, allocations: 0.9334 MB / 3.47 GB, free: 228 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/6.874, allocations: 0 / 3.47 GB, free: 228 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)