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.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001069/0.001069, allocations: 181.2 kB / 316 MB, free: 3.645 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.174/1.174, allocations: 205.1 MB / 0.5667 GB, free: 15.76 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.0009605/0.0009605, allocations: 89.59 kB / 0.671 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3577/0.3587, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.5266, allocations: 106.3 MB / 0.8847 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/1.01, allocations: 132.4 MB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/1.01, allocations: 68.72 kB / 1.014 GB, free: 6.277 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.008796/1.019, allocations: 2.938 MB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.019, allocations: 8.656 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/1.019, allocations: 23.72 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/1.02, allocations: 249.9 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/1.02, allocations: 15.16 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/1.02, allocations: 11.98 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002818/1.02, allocations: 158.7 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/1.02, allocations: 195.7 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.02, allocations: 7.938 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/1.02, allocations: 7.797 kB / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.02, allocations: 4 kB / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.022, allocations: 0.6523 MB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/1.022, allocations: 166 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/1.022, allocations: 111.8 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/1.022, allocations: 4 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/1.022, allocations: 189.8 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/1.022, allocations: 3.938 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0004502/1.023, allocations: 256.4 kB / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.023, allocations: 59.22 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.023, allocations: 162.6 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.023, allocations: 29.7 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/1.023, allocations: 119.8 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/1.023, allocations: 69.22 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/1.023, allocations: 0 / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.023, allocations: 334.2 kB / 1.02 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/1.023, allocations: 96.59 kB / 1.02 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/1.024, allocations: 94.23 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.024, allocations: 96.33 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.024, allocations: 0 / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003811/1.024, allocations: 263.8 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.024, allocations: 4 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.024, allocations: 7.188 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.024, allocations: 3.984 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/1.025, allocations: 95.75 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.025, allocations: 7.906 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/1.025, allocations: 71.78 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/1.025, allocations: 7.062 kB / 1.02 GB, free: 0.5391 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.0001025/1.025, allocations: 122.7 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/1.025, allocations: 27.03 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/1.025, allocations: 26.08 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.025, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.025, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.025, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/1.026, allocations: 0.5871 MB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.026, allocations: 0 / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/1.026, allocations: 71.88 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.026, allocations: 4 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/1.026, allocations: 6.875 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.026, allocations: 3.938 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.026, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003929/1.027, allocations: 356.8 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004787/1.027, allocations: 0.7267 MB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/1.027, allocations: 92.86 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/1.027, allocations: 15.33 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/1.028, allocations: 59.94 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.028, allocations: 43.5 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/1.028, allocations: 16.86 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.787e-05/1.028, allocations: 122.8 kB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008218/1.029, allocations: 55.08 kB / 1.023 GB, free: 14.39 MB / 0.6511 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.0001721/1.029, allocations: 115.5 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000408/1.029, allocations: 257.3 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.029, allocations: 0 / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.029, allocations: 149 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/1.03, allocations: 30.16 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/1.031, allocations: 337.1 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/1.031, allocations: 0.7744 MB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/1.031, allocations: 0 / 1.024 GB, free: 12.88 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)