Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 189.7 kB / 487 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 6.73 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009018, allocations: 91.7 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.243/0.2439, allocations: 148.5 MB / 1.066 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.7656, allocations: 142.3 MB / 1.205 GB, free: 72.74 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.9263, allocations: 150 MB / 1.352 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.9265, allocations: 71.95 kB / 1.352 GB, free: 13.12 MB / 0.8542 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.009979/0.9365, allocations: 3.672 MB / 1.355 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.9365, allocations: 8 kB / 1.355 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.9366, allocations: 11.81 kB / 1.355 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.9368, allocations: 198.9 kB / 1.356 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.9368, allocations: 4 kB / 1.356 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.9368, allocations: 4 kB / 1.356 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001138/0.937, allocations: 36.98 kB / 1.356 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.9371, allocations: 78.47 kB / 1.356 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.9371, allocations: 0 / 1.356 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.9371, allocations: 4 kB / 1.356 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9371, allocations: 0 / 1.356 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.9377, allocations: 353.2 kB / 1.356 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.9378, allocations: 50.56 kB / 1.356 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.9379, allocations: 32.86 kB / 1.356 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.9379, allocations: 4 kB / 1.356 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.938, allocations: 79.38 kB / 1.356 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.938, allocations: 0 / 1.356 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002565/0.9383, allocations: 109.4 kB / 1.356 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.9383, allocations: 58.5 kB / 1.356 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.9384, allocations: 123.3 kB / 1.357 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.9385, allocations: 25.7 kB / 1.357 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.9385, allocations: 104.1 kB / 1.357 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.9385, allocations: 27.64 kB / 1.357 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.9386, allocations: 0 / 1.357 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.9387, allocations: 322.8 kB / 1.357 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.9387, allocations: 28 kB / 1.357 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.9388, allocations: 35.98 kB / 1.357 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/0.9389, allocations: 28.64 kB / 1.357 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9389, allocations: 0 / 1.357 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/0.9391, allocations: 118.4 kB / 1.357 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.9391, allocations: 8 kB / 1.357 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9391, allocations: 4 kB / 1.357 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.9391, allocations: 3.938 kB / 1.357 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.9393, allocations: 29.05 kB / 1.357 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9393, allocations: 0 / 1.357 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.9395, allocations: 31.84 kB / 1.357 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.9395, allocations: 7.906 kB / 1.357 GB, free: 7.398 MB / 0.8542 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.331e-05/0.9396, allocations: 105 kB / 1.357 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.9396, allocations: 7.906 kB / 1.357 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.9398, allocations: 122.1 kB / 1.358 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9398, allocations: 0 / 1.358 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9398, allocations: 7.906 kB / 1.358 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9398, allocations: 2.531 kB / 1.358 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.94, allocations: 174.7 kB / 1.358 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.94, allocations: 4 kB / 1.358 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.9401, allocations: 23.98 kB / 1.358 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9401, allocations: 1.312 kB / 1.358 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.9401, allocations: 3.984 kB / 1.358 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9401, allocations: 3.906 kB / 1.358 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9402, allocations: 0 / 1.358 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001832/0.9403, allocations: 132.9 kB / 1.358 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000259/0.9406, allocations: 0.5051 MB / 1.358 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.9407, allocations: 88.98 kB / 1.358 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.9407, allocations: 4 kB / 1.358 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.9408, allocations: 19.98 kB / 1.358 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.9409, allocations: 20.72 kB / 1.358 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.9409, allocations: 4.406 kB / 1.358 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.692e-05/0.941, allocations: 107.2 kB / 1.359 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007674/0.9418, allocations: 39.94 kB / 1.359 GB, free: 5.938 MB / 0.8542 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.0001562/0.9419, allocations: 123.2 kB / 1.359 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.9421, allocations: 132.1 kB / 1.359 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.9421, allocations: 0 / 1.359 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.9422, allocations: 73.69 kB / 1.359 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.9424, allocations: 11.98 kB / 1.359 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.9428, allocations: 132.8 kB / 1.359 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.943, allocations: 0.723 MB / 1.36 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/0.943, allocations: 0 / 1.36 GB, free: 4.672 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)