Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.318/4.318, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5413/4.859, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/5.116, allocations: 98.73 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/5.376, allocations: 125 MB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.377, allocations: 71.61 kB / 0.7504 GB, free: 12.6 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.01126/5.388, allocations: 2.027 MB / 0.7524 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/5.388, allocations: 8 kB / 0.7524 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/5.388, allocations: 11.91 kB / 0.7524 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/5.388, allocations: 202.9 kB / 0.7526 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/5.389, allocations: 7.844 kB / 0.7526 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/5.389, allocations: 4 kB / 0.7526 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002465/5.389, allocations: 55.98 kB / 0.7527 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/5.389, allocations: 101.6 kB / 0.7528 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/5.389, allocations: 0 / 0.7528 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/5.389, allocations: 0 / 0.7528 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/5.389, allocations: 11.98 kB / 0.7528 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/5.39, allocations: 345.1 kB / 0.7531 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/5.39, allocations: 90.47 kB / 0.7532 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/5.391, allocations: 68.91 kB / 0.7532 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/5.391, allocations: 0 / 0.7532 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/5.391, allocations: 115.4 kB / 0.7534 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/5.391, allocations: 3.938 kB / 0.7534 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005045/5.391, allocations: 141.6 kB / 0.7535 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/5.392, allocations: 89.05 kB / 0.7536 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/5.392, allocations: 133.4 kB / 0.7537 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/5.392, allocations: 29.69 kB / 0.7537 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/5.392, allocations: 92.05 kB / 0.7538 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/5.392, allocations: 35.55 kB / 0.7539 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/5.392, allocations: 0 / 0.7539 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/5.392, allocations: 322.8 kB / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/5.392, allocations: 51.98 kB / 0.7542 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/5.392, allocations: 55.97 kB / 0.7543 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/5.393, allocations: 39.98 kB / 0.7543 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/5.393, allocations: 7.938 kB / 0.7543 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004594/5.393, allocations: 161.6 kB / 0.7545 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/5.393, allocations: 4 kB / 0.7545 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/5.393, allocations: 4 kB / 0.7545 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/5.393, allocations: 0 / 0.7545 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/5.394, allocations: 27.97 kB / 0.7545 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/5.394, allocations: 0 / 0.7545 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/5.394, allocations: 39.86 kB / 0.7545 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/5.394, allocations: 4 kB / 0.7545 GB, free: 8.129 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.0001916/5.394, allocations: 155.8 kB / 0.7547 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/5.394, allocations: 7.906 kB / 0.7547 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/5.394, allocations: 16.5 kB / 0.7547 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/5.394, allocations: 7.844 kB / 0.7547 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.394, allocations: 0 / 0.7547 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/5.394, allocations: 7.984 kB / 0.7547 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/5.395, allocations: 178.1 kB / 0.7549 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/5.395, allocations: 0 / 0.7549 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/5.395, allocations: 31.97 kB / 0.7549 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/5.395, allocations: 0 / 0.7549 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/5.395, allocations: 7.906 kB / 0.7549 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/5.395, allocations: 0 / 0.7549 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.395, allocations: 0 / 0.7549 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005404/5.396, allocations: 185.1 kB / 0.7551 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005696/5.396, allocations: 0.5637 MB / 0.7557 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/5.396, allocations: 85.02 kB / 0.7557 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/5.396, allocations: 3.906 kB / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/5.397, allocations: 39.95 kB / 0.7558 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/5.397, allocations: 23.97 kB / 0.7558 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/5.397, allocations: 4 kB / 0.7558 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002746/5.397, allocations: 106.8 kB / 0.7559 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002242/5.4, allocations: 24 kB / 0.7559 GB, free: 6.59 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.0002328/5.4, allocations: 104 kB / 0.756 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005516/5.4, allocations: 203.4 kB / 0.7562 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.401, allocations: 4 kB / 0.7562 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/5.401, allocations: 141.6 kB / 0.7564 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/5.401, allocations: 11.98 kB / 0.7564 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/5.402, allocations: 219 kB / 0.7566 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/5.402, allocations: 0.7191 MB / 0.7573 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/5.402, allocations: 4 kB / 0.7573 GB, free: 5.121 MB / 0.6355 GB