Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009624/0.0009625, allocations: 185.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9901/0.9901, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007588/0.0007589, allocations: 92.66 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.171/0.1718, allocations: 121.5 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.5681, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.6971, allocations: 137.9 MB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.6973, allocations: 72.53 kB / 1.099 GB, free: 2.082 MB / 0.698 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.01411/0.7114, allocations: 5.132 MB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7115, allocations: 8 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.7116, allocations: 35.72 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.712, allocations: 278.6 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.7121, allocations: 12 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.7121, allocations: 23.92 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002865/0.7124, allocations: 157.2 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.7127, allocations: 193 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7127, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.7128, allocations: 11.97 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7128, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.714, allocations: 0.7348 MB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.7143, allocations: 162.9 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.7144, allocations: 105.2 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.7144, allocations: 4.188 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.7147, allocations: 189 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.7147, allocations: 0.6562 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0004546/0.7152, allocations: 277.7 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.7152, allocations: 55.41 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.7154, allocations: 186 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.7154, allocations: 29.7 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.7155, allocations: 120.5 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.7156, allocations: 67.19 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.7156, allocations: 9.25 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7157, allocations: 334.7 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.7159, allocations: 132 kB / 1.107 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.7162, allocations: 172.2 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.7166, allocations: 160.7 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7166, allocations: 0 / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000767/0.7174, allocations: 390 kB / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7174, allocations: 8 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7174, allocations: 0 / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7174, allocations: 5.75 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.7178, allocations: 67.89 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7178, allocations: 0 / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.7183, allocations: 119.8 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.7183, allocations: 19.89 kB / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$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 (31): * Single equations (assignments): 29 * 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.0001075/0.7184, allocations: 128.7 kB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.7185, allocations: 27.7 kB / 1.108 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.7185, allocations: 18.66 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7185, allocations: 4 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7185, allocations: 0 / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.7186, allocations: 7.984 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.7192, allocations: 0.6093 MB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7192, allocations: 3.906 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.7194, allocations: 55.89 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7194, allocations: 3.984 kB / 1.108 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.7195, allocations: 5.188 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7195, allocations: 0 / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7195, allocations: 0 / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004116/0.7199, allocations: 371.8 kB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005167/0.7204, allocations: 0.7415 MB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.7205, allocations: 96.86 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.7205, allocations: 11.89 kB / 1.109 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.7208, allocations: 35.97 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.7208, allocations: 27.94 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.7209, allocations: 17.86 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.524e-05/0.721, allocations: 140.6 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008492/0.7218, allocations: 75.83 kB / 1.11 GB, free: 6.344 MB / 0.7136 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001587/0.722, allocations: 123.7 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.7225, allocations: 363.8 kB / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7225, allocations: 0 / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.7227, allocations: 140.4 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.723, allocations: 41.5 kB / 1.11 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.7237, allocations: 360.8 kB / 1.111 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.7241, allocations: 0.7826 MB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7241, allocations: 0 / 1.111 GB, free: 4.492 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)