Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.119/2.119, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001595/0.001594, allocations: 185.2 kB / 360.3 MB, free: 7.559 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.632/1.632, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001225/0.001225, allocations: 81.25 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2409/0.2422, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.7882, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.9961, allocations: 138.4 MB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.9964, allocations: 64.53 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01005/1.006, allocations: 2.066 MB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.007, allocations: 16.48 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/1.007, allocations: 11.81 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/1.007, allocations: 200.7 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/1.007, allocations: 4 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/1.007, allocations: 7.984 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002495/1.007, allocations: 59.98 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/1.008, allocations: 97.64 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.008, allocations: 2.391 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.008, allocations: 8 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.008, allocations: 3.906 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/1.009, allocations: 341.2 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/1.009, allocations: 95.16 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/1.009, allocations: 66.88 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/1.009, allocations: 8 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/1.009, allocations: 107.4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/1.009, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004207/1.01, allocations: 137.5 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.01, allocations: 93.09 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.01, allocations: 120.4 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.01, allocations: 33.7 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/1.01, allocations: 99.91 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/1.01, allocations: 31.7 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.01, allocations: 0 / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.01, allocations: 333.3 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.011, allocations: 48.55 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.011, allocations: 51.98 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/1.011, allocations: 50.22 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.011, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004388/1.011, allocations: 162.3 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.011, allocations: 8 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.011, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.011, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.012, allocations: 23.97 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.012, allocations: 11.84 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/1.012, allocations: 35.91 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.012, allocations: 7.984 kB / 1.102 GB, free: 13.93 MB / 0.7136 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: 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.0001613/1.012, allocations: 149 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/1.012, allocations: 19.81 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/1.012, allocations: 12.5 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.012, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.012, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.013, allocations: 0.7969 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/1.013, allocations: 183.8 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.013, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.013, allocations: 23.98 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.013, allocations: 7.938 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.013, allocations: 7.984 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.013, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.013, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000447/1.014, allocations: 194.5 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005692/1.014, allocations: 0.5637 MB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/1.014, allocations: 81.02 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/1.014, allocations: 4.562 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.015, allocations: 37.39 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.015, allocations: 20.67 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/1.015, allocations: 8 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001/1.015, allocations: 107.2 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001134/1.016, allocations: 23.91 kB / 1.104 GB, free: 12.4 MB / 0.7136 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: 1 * Record equations: 0 * 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.0001567/1.016, allocations: 104 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004894/1.017, allocations: 215.3 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.017, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/1.017, allocations: 141.6 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/1.017, allocations: 11.5 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/1.018, allocations: 216 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/1.019, allocations: 0.7192 MB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.019, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)