Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.446/2.446, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.003138/0.003138, allocations: 181.2 kB / 315.1 MB, free: 4.27 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.041/2.041, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001224/0.001224, allocations: 79.41 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5108/0.512, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.7641, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7365/1.501, allocations: 132.2 MB / 1.013 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/1.501, allocations: 66.53 kB / 1.013 GB, free: 7.969 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.02019/1.521, allocations: 2.94 MB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.521, allocations: 8.75 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/1.522, allocations: 27.7 kB / 1.016 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/1.522, allocations: 244.6 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/1.522, allocations: 8 kB / 1.016 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/1.522, allocations: 19.89 kB / 1.016 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005474/1.523, allocations: 157.8 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/1.523, allocations: 204.3 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.524, allocations: 0 / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/1.524, allocations: 19.28 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.524, allocations: 4 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/1.527, allocations: 0.6468 MB / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/1.528, allocations: 170.3 kB / 1.017 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/1.528, allocations: 106.3 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/1.528, allocations: 4 kB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/1.529, allocations: 200.6 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 6.763e-06/1.529, allocations: 0 / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.001444/1.531, allocations: 258 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/1.531, allocations: 62.78 kB / 1.018 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/1.531, allocations: 155.2 kB / 1.018 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/1.531, allocations: 29.7 kB / 1.018 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.531, allocations: 115.1 kB / 1.018 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.532, allocations: 65.67 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/1.532, allocations: 0 / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.532, allocations: 333.8 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/1.532, allocations: 98.53 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/1.533, allocations: 96.86 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/1.534, allocations: 92.52 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.534, allocations: 0 / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001258/1.535, allocations: 265 kB / 1.019 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.535, allocations: 7.984 kB / 1.019 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.535, allocations: 4 kB / 1.019 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.535, allocations: 4 kB / 1.019 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.536, allocations: 91.88 kB / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.537, allocations: 0 / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.538, allocations: 82.94 kB / 1.019 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.538, allocations: 8 kB / 1.019 GB, free: 2.234 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: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.000329/1.538, allocations: 121.8 kB / 1.019 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/1.538, allocations: 19.72 kB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/1.538, allocations: 24.83 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.538, allocations: 8 kB / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.538, allocations: 0 / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.538, allocations: 0 / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/1.54, allocations: 0.5908 MB / 1.02 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.54, allocations: 0 / 1.02 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/1.541, allocations: 71.88 kB / 1.02 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.541, allocations: 0 / 1.02 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/1.541, allocations: 11.38 kB / 1.02 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.541, allocations: 0 / 1.02 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.541, allocations: 7.922 kB / 1.02 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/1.542, allocations: 356 kB / 1.02 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001382/1.544, allocations: 0.7328 MB / 1.021 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/1.544, allocations: 96.86 kB / 1.021 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/1.544, allocations: 7.891 kB / 1.021 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.546, allocations: 63.81 kB / 1.021 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/1.546, allocations: 34.69 kB / 1.021 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/1.546, allocations: 16.11 kB / 1.021 GB, free: 256 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001456/1.546, allocations: 126.6 kB / 1.021 GB, free: 144 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001268/1.548, allocations: 51.92 kB / 1.021 GB, free: 92 kB / 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: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002822/1.548, allocations: 119.6 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008089/1.549, allocations: 256.1 kB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.549, allocations: 3.938 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/1.549, allocations: 144.2 kB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/1.55, allocations: 26.53 kB / 1.022 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.551, allocations: 340.7 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/1.552, allocations: 0.7661 MB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.552, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.6511 GB