Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.832/1.832, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 173.4 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008818, allocations: 100.5 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4453/0.4462, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.6493, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/1.191, allocations: 149.2 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/1.192, allocations: 76.42 kB / 1.351 GB, free: 15.82 MB / 0.8073 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.01409/1.206, allocations: 5.133 MB / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.206, allocations: 13.34 kB / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/1.206, allocations: 28.34 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/1.206, allocations: 281.1 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/1.206, allocations: 12.59 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/1.206, allocations: 22.05 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002855/1.207, allocations: 158.3 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/1.207, allocations: 190.9 kB / 1.357 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/1.207, allocations: 0 / 1.357 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.207, allocations: 6.578 kB / 1.357 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.207, allocations: 4.344 kB / 1.357 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/1.208, allocations: 0.7328 MB / 1.358 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/1.208, allocations: 162.7 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/1.209, allocations: 110.7 kB / 1.358 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/1.209, allocations: 3 kB / 1.358 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/1.209, allocations: 186.3 kB / 1.358 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/1.209, allocations: 4 kB / 1.358 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0004766/1.209, allocations: 279 kB / 1.358 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/1.209, allocations: 59.66 kB / 1.358 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.21, allocations: 178.1 kB / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.21, allocations: 30.14 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/1.21, allocations: 125.3 kB / 1.359 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/1.21, allocations: 60.27 kB / 1.359 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.21, allocations: 7.156 kB / 1.359 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/1.21, allocations: 342.8 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/1.21, allocations: 132 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/1.21, allocations: 176.9 kB / 1.359 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.211, allocations: 153.7 kB / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.211, allocations: 0.9062 kB / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007994/1.212, allocations: 393.5 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.212, allocations: 6.25 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.212, allocations: 0.75 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.212, allocations: 3.094 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/1.212, allocations: 75.34 kB / 1.36 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.212, allocations: 2.688 kB / 1.36 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/1.213, allocations: 115.5 kB / 1.36 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/1.213, allocations: 18.03 kB / 1.36 GB, free: 13.57 MB / 0.8073 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.000111/1.213, allocations: 140.8 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/1.213, allocations: 23.95 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/1.213, allocations: 20.78 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.213, allocations: 2.688 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.213, allocations: 5.359 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.213, allocations: 1.406 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/1.213, allocations: 0.6138 MB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.214, allocations: 4 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/1.214, allocations: 51.86 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.214, allocations: 1.125 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/1.214, allocations: 11.83 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.214, allocations: 2 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.214, allocations: 0 / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004394/1.214, allocations: 360.8 kB / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005517/1.215, allocations: 0.7422 MB / 1.362 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/1.215, allocations: 103.6 kB / 1.362 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/1.215, allocations: 7.438 kB / 1.362 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.215, allocations: 38.14 kB / 1.362 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/1.215, allocations: 30.12 kB / 1.362 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/1.215, allocations: 10.16 kB / 1.362 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.299e-05/1.215, allocations: 142.1 kB / 1.362 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008651/1.216, allocations: 74.38 kB / 1.362 GB, free: 12.14 MB / 0.8073 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.0001702/1.216, allocations: 126.7 kB / 1.362 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004852/1.217, allocations: 366.1 kB / 1.363 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.217, allocations: 0 / 1.363 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.217, allocations: 139.5 kB / 1.363 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/1.217, allocations: 39.06 kB / 1.363 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/1.218, allocations: 369 kB / 1.363 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.218, allocations: 0.7817 MB / 1.364 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/1.218, allocations: 0 / 1.364 GB, free: 10.61 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat does not exist to compare? outputFormat=mat