Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.000948/0.000948, allocations: 196.5 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 97.55 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3529/0.3537, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.5228, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/1.005, allocations: 132.1 MB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/1.005, allocations: 71.95 kB / 1.014 GB, free: 6.648 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.007161/1.012, allocations: 2.316 MB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/1.012, allocations: 8 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/1.012, allocations: 19.69 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/1.012, allocations: 209.2 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.012, allocations: 4 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/1.012, allocations: 6.938 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001645/1.013, allocations: 62.78 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/1.013, allocations: 133.2 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.013, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.013, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.013, allocations: 4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.014, allocations: 0.7856 MB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/1.014, allocations: 136.4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/1.014, allocations: 58.84 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/1.014, allocations: 4.844 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/1.014, allocations: 132.9 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/1.014, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002723/1.015, allocations: 113.9 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/1.015, allocations: 162.2 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.015, allocations: 143.1 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.015, allocations: 29.69 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/1.015, allocations: 115.1 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/1.015, allocations: 22.97 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/1.015, allocations: 3.938 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.015, allocations: 332.9 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/1.015, allocations: 41.69 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.015, allocations: 68.41 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/1.016, allocations: 48.91 kB / 1.019 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.016, allocations: 0 / 1.019 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002444/1.016, allocations: 134.1 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.016, allocations: 4 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.016, allocations: 80 / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.016, allocations: 7.984 kB / 1.019 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.016, allocations: 70.73 kB / 1.019 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.016, allocations: 7.922 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/1.017, allocations: 67.78 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/1.017, allocations: 4 kB / 1.019 GB, free: 1.605 MB / 0.6355 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 7.998e-05/1.017, allocations: 112 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/1.017, allocations: 15.81 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/1.017, allocations: 20.02 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.017, allocations: 0 / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.017, allocations: 4 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.017, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/1.017, allocations: 209.8 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.017, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/1.017, allocations: 67.88 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.017, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.017, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.017, allocations: 4 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.017, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000252/1.017, allocations: 209.9 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003606/1.018, allocations: 0.5766 MB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/1.018, allocations: 88.92 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/1.018, allocations: 7.984 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/1.018, allocations: 59.2 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/1.018, allocations: 26.52 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/1.018, allocations: 11.98 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.012e-05/1.018, allocations: 119.8 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007852/1.019, allocations: 27.95 kB / 1.02 GB, free: 15.98 MB / 0.6511 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.0001432/1.019, allocations: 102.1 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002163/1.02, allocations: 96.23 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.02, allocations: 3.938 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/1.02, allocations: 71.67 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/1.02, allocations: 27.73 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/1.021, allocations: 219.7 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/1.021, allocations: 0.7457 MB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.021, allocations: 0 / 1.022 GB, free: 14.74 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)