Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.371/2.371, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001644/0.001644, allocations: 184.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 0.5658 GB, free: 288 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 83.33 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4826/0.4842, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.6982, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6894/1.388, allocations: 133.1 MB / 1.013 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.388, allocations: 70.78 kB / 1.014 GB, free: 6.996 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01073/1.399, allocations: 2.067 MB / 1.016 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.399, allocations: 8 kB / 1.016 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/1.399, allocations: 11.84 kB / 1.016 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/1.399, allocations: 197.7 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.399, allocations: 7.984 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/1.399, allocations: 7.906 kB / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002436/1.4, allocations: 60.05 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/1.4, allocations: 101.8 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.4, allocations: 4 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/1.4, allocations: 0 / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.4, allocations: 0 / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.401, allocations: 339.6 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/1.401, allocations: 96.98 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/1.402, allocations: 72.91 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.402, allocations: 7.906 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/1.402, allocations: 104 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/1.402, allocations: 0 / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004591/1.402, allocations: 146.6 kB / 1.017 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.402, allocations: 88.55 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.403, allocations: 130.6 kB / 1.017 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.403, allocations: 29.7 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/1.403, allocations: 103.5 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/1.403, allocations: 27.11 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/1.403, allocations: 0 / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.403, allocations: 325.8 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/1.403, allocations: 49.8 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/1.403, allocations: 55.61 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.403, allocations: 52.47 kB / 1.018 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.404, allocations: 0 / 1.018 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004392/1.404, allocations: 161.3 kB / 1.018 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.404, allocations: 12 kB / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.404, allocations: 0 / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.404, allocations: 0 / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/1.404, allocations: 29.59 kB / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.404, allocations: 80 / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/1.405, allocations: 39.81 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/1.405, allocations: 11.97 kB / 1.018 GB, free: 3.004 MB / 0.6355 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.000172/1.405, allocations: 150.3 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/1.405, allocations: 11.41 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/1.405, allocations: 8.5 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.405, allocations: 0 / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.405, allocations: 0 / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.405, allocations: 3.906 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/1.405, allocations: 176.2 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.405, allocations: 0 / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.406, allocations: 31.92 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.406, allocations: 0 / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/1.406, allocations: 8.422 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.406, allocations: 7.906 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.406, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004749/1.406, allocations: 187 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006402/1.407, allocations: 0.5705 MB / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/1.407, allocations: 81.02 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/1.407, allocations: 4 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/1.407, allocations: 35.95 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.408, allocations: 30.81 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.408, allocations: 4.859 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001026/1.408, allocations: 102 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00113/1.409, allocations: 24 kB / 1.019 GB, free: 1.578 MB / 0.6355 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.000202/1.409, allocations: 106.9 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005409/1.41, allocations: 208.8 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.41, allocations: 0 / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/1.41, allocations: 142 kB / 1.02 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.41, allocations: 8 kB / 1.02 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/1.411, allocations: 215.5 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/1.412, allocations: 0.7192 MB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/1.412, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB