Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.255/4.255, allocations: 433 MB / 440.3 MB, free: 25 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2854/4.541, allocations: 104.4 MB / 0.5319 GB, free: 4.695 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/5.151, allocations: 98.69 MB / 0.6283 GB, free: 0.6367 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/5.423, allocations: 123.9 MB / 0.7493 GB, free: 5.316 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/5.423, allocations: 75.8 kB / 0.7493 GB, free: 5.246 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01385/5.437, allocations: 2.311 MB / 0.7516 GB, free: 2.891 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/5.437, allocations: 8 kB / 0.7516 GB, free: 2.883 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/5.437, allocations: 19.81 kB / 0.7516 GB, free: 2.863 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/5.438, allocations: 207.5 kB / 0.7518 GB, free: 2.621 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/5.438, allocations: 11.84 kB / 0.7518 GB, free: 2.609 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/5.438, allocations: 4 kB / 0.7518 GB, free: 2.605 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000292/5.438, allocations: 55.98 kB / 0.7519 GB, free: 2.551 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/5.438, allocations: 141.8 kB / 0.752 GB, free: 2.391 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/5.438, allocations: 0 / 0.752 GB, free: 2.391 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/5.438, allocations: 4 kB / 0.752 GB, free: 2.387 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/5.438, allocations: 4 kB / 0.752 GB, free: 2.383 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/5.44, allocations: 0.783 MB / 0.7528 GB, free: 1.547 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/5.44, allocations: 128.9 kB / 0.7529 GB, free: 1.375 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/5.441, allocations: 66.59 kB / 0.753 GB, free: 1.297 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/5.441, allocations: 4 kB / 0.753 GB, free: 1.293 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/5.441, allocations: 131.6 kB / 0.7531 GB, free: 1.137 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=11): time 3.276e-06/5.441, allocations: 4 kB / 0.7531 GB, free: 1.133 MB / 0.6121 GB Notification: Performance of matching and sorting (n=11): time 0.0005229/5.442, allocations: 105.4 kB / 0.7532 GB, free: 1.023 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/5.442, allocations: 162.2 kB / 0.7534 GB, free: 0.8281 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/5.442, allocations: 146.7 kB / 0.7535 GB, free: 0.6797 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/5.442, allocations: 29.7 kB / 0.7535 GB, free: 0.6445 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/5.442, allocations: 107.8 kB / 0.7537 GB, free: 0.5352 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/5.442, allocations: 35.55 kB / 0.7537 GB, free: 0.5 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/5.442, allocations: 4.094 kB / 0.7537 GB, free: 0.4961 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001335/5.442, allocations: 322.8 kB / 0.754 GB, free: 176 kB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/5.442, allocations: 43.98 kB / 0.754 GB, free: 132 kB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/5.443, allocations: 68.3 kB / 0.7541 GB, free: 48 kB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/5.443, allocations: 47.94 kB / 0.7541 GB, free: 0 / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/5.443, allocations: 128 / 0.7541 GB, free: 16 MB / 0.6277 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004628/5.443, allocations: 141.4 kB / 0.7543 GB, free: 15.85 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/5.443, allocations: 4 kB / 0.7543 GB, free: 15.85 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/5.443, allocations: 3.938 kB / 0.7543 GB, free: 15.84 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/5.443, allocations: 4 kB / 0.7543 GB, free: 15.84 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/5.444, allocations: 72.03 kB / 0.7544 GB, free: 15.77 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/5.444, allocations: 0 / 0.7544 GB, free: 15.77 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/5.445, allocations: 63.84 kB / 0.7544 GB, free: 15.71 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/5.445, allocations: 8 kB / 0.7544 GB, free: 15.7 MB / 0.6277 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001882/5.445, allocations: 114.8 kB / 0.7545 GB, free: 15.58 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/5.445, allocations: 15.81 kB / 0.7546 GB, free: 15.57 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/5.445, allocations: 24.95 kB / 0.7546 GB, free: 15.54 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/5.445, allocations: 0 / 0.7546 GB, free: 15.54 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/5.445, allocations: 7.906 kB / 0.7546 GB, free: 15.53 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/5.445, allocations: 0 / 0.7546 GB, free: 15.53 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/5.446, allocations: 202.1 kB / 0.7548 GB, free: 15.3 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/5.446, allocations: 0 / 0.7548 GB, free: 15.3 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/5.446, allocations: 63.95 kB / 0.7548 GB, free: 15.23 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/5.446, allocations: 4 kB / 0.7548 GB, free: 15.23 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/5.446, allocations: 3.984 kB / 0.7548 GB, free: 15.23 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/5.446, allocations: 7.906 kB / 0.7549 GB, free: 15.22 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.446, allocations: 3.938 kB / 0.7549 GB, free: 15.21 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004488/5.447, allocations: 199.2 kB / 0.7551 GB, free: 14.96 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005087/5.447, allocations: 0.5737 MB / 0.7556 GB, free: 14.33 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/5.447, allocations: 96.92 kB / 0.7557 GB, free: 14.22 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/5.447, allocations: 4 kB / 0.7557 GB, free: 14.21 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/5.448, allocations: 59.94 kB / 0.7558 GB, free: 14.16 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/5.448, allocations: 31.86 kB / 0.7558 GB, free: 14.12 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/5.448, allocations: 4 kB / 0.7558 GB, free: 14.12 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0001867/5.448, allocations: 120.3 kB / 0.7559 GB, free: 14 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.002241/5.451, allocations: 31.92 kB / 0.7559 GB, free: 13.97 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003571/5.451, allocations: 111.2 kB / 0.756 GB, free: 13.85 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0006543/5.452, allocations: 91.92 kB / 0.7561 GB, free: 13.76 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/5.452, allocations: 0 / 0.7561 GB, free: 13.76 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/5.452, allocations: 71.92 kB / 0.7562 GB, free: 13.69 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/5.453, allocations: 28.34 kB / 0.7562 GB, free: 13.66 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/5.455, allocations: 215.4 kB / 0.7564 GB, free: 13.42 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008033/5.456, allocations: 0.7538 MB / 0.7572 GB, free: 12.64 MB / 0.6277 GB Notification: Performance of SimCode: time 1.633e-06/5.456, allocations: 0 / 0.7572 GB, free: 12.64 MB / 0.6277 GB