Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 192.4 kB / 316 MB, free: 3.477 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008789, allocations: 86.34 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3293/0.3303, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.4811, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4685/0.9496, allocations: 133.6 MB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.9499, allocations: 67.34 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01008/0.96, allocations: 3.618 MB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.96, allocations: 8 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.9601, allocations: 7.906 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.9603, allocations: 201.4 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.9603, allocations: 4 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.9604, allocations: 3.906 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001212/0.9605, allocations: 41.36 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.9606, allocations: 78.84 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.9606, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9607, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.9607, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.9613, allocations: 350 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.9614, allocations: 52.45 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.9615, allocations: 39.28 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.9615, allocations: 3.906 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.9617, allocations: 80.5 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.9617, allocations: 0 / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002543/0.9619, allocations: 106.8 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.962, allocations: 55.41 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.9621, allocations: 118.7 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.9621, allocations: 29.7 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.9621, allocations: 99.41 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.9622, allocations: 23.39 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.9622, allocations: 3.938 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.9623, allocations: 321.8 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.9624, allocations: 33.42 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.9624, allocations: 36.61 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.9625, allocations: 31.3 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9625, allocations: 0 / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002043/0.9627, allocations: 119.2 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.9627, allocations: 8 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.9628, allocations: 3.984 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.9628, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.9629, allocations: 19.98 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9629, allocations: 8.062 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.9631, allocations: 27.83 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.9631, allocations: 10.67 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.412e-05/0.9632, allocations: 112.9 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.9632, allocations: 15.81 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.9634, allocations: 109.8 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9635, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9635, allocations: 4 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9635, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.9636, allocations: 179 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9636, allocations: 8.812 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.9638, allocations: 23.98 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9638, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9638, allocations: 3.984 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9638, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9638, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001814/0.964, allocations: 134.8 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002839/0.9643, allocations: 0.5053 MB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.9643, allocations: 88.05 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.9644, allocations: 7.984 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.9645, allocations: 19.98 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.9646, allocations: 15.22 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.9646, allocations: 7.938 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.771e-05/0.9647, allocations: 108 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007785/0.9654, allocations: 35.88 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.0001551/0.9656, allocations: 122.7 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.9658, allocations: 131.7 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9658, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.9659, allocations: 75.5 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.9661, allocations: 7.906 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.9665, allocations: 144.2 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.9667, allocations: 0.7153 MB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9667, allocations: 4 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)