Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001005/0.001005, allocations: 181.2 kB / 487 MB, free: 5.32 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.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008624/0.0008623, allocations: 97.94 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4328/0.4337, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.6383, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/1.222, allocations: 149.2 MB / 1.351 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/1.223, allocations: 72 kB / 1.351 GB, free: 16.16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.01997/1.243, allocations: 7.149 MB / 1.358 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.243, allocations: 9.344 kB / 1.358 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/1.243, allocations: 40.44 kB / 1.358 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/1.243, allocations: 315.1 kB / 1.358 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.243, allocations: 10.98 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/1.243, allocations: 30 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002576/1.244, allocations: 134.1 kB / 1.359 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/1.244, allocations: 207.3 kB / 1.359 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.244, allocations: 0.5625 kB / 1.359 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/1.244, allocations: 6.094 kB / 1.359 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.244, allocations: 4.812 kB / 1.359 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.245, allocations: 0.7828 MB / 1.36 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/1.246, allocations: 197.6 kB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/1.246, allocations: 279.3 kB / 1.36 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/1.246, allocations: 3.5 kB / 1.36 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/1.246, allocations: 262.4 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/1.246, allocations: 0 / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0005836/1.247, allocations: 378.1 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.247, allocations: 140.6 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/1.247, allocations: 204.6 kB / 1.361 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/1.247, allocations: 37.08 kB / 1.361 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/1.247, allocations: 121.5 kB / 1.361 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/1.247, allocations: 71.25 kB / 1.361 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/1.247, allocations: 8.703 kB / 1.361 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/1.247, allocations: 333.4 kB / 1.361 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/1.248, allocations: 215.5 kB / 1.362 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/1.248, allocations: 305 kB / 1.362 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/1.249, allocations: 266.7 kB / 1.362 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.249, allocations: 8 kB / 1.362 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001169/1.25, allocations: 0.6211 MB / 1.363 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.25, allocations: 8.859 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.25, allocations: 4 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.25, allocations: 4 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/1.25, allocations: 23.38 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.25, allocations: 4.797 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.251, allocations: 160.7 kB / 1.363 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.251, allocations: 74.61 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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.0001205/1.251, allocations: 147 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.251, allocations: 32.14 kB / 1.363 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/1.252, allocations: 407 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.252, allocations: 4.703 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.252, allocations: 0 / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.252, allocations: 1.922 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/1.252, allocations: 0.7288 MB / 1.364 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.252, allocations: 4 kB / 1.364 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/1.252, allocations: 19.27 kB / 1.364 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.252, allocations: 8.656 kB / 1.364 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/1.252, allocations: 5.531 kB / 1.364 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.252, allocations: 7.938 kB / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.252, allocations: 0 / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003981/1.253, allocations: 474.9 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004397/1.253, allocations: 0.8367 MB / 1.366 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/1.253, allocations: 107 kB / 1.366 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/1.253, allocations: 5.25 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/1.253, allocations: 9.703 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.254, allocations: 25.39 kB / 1.366 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/1.254, allocations: 17.31 kB / 1.366 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.44e-05/1.254, allocations: 152.7 kB / 1.366 GB, free: 10 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008983/1.255, allocations: 89.48 kB / 1.366 GB, free: 9.918 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: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.0001558/1.255, allocations: 133.5 kB / 1.366 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006098/1.255, allocations: 0.5485 MB / 1.367 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.255, allocations: 7.625 kB / 1.367 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/1.256, allocations: 181 kB / 1.367 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.256, allocations: 44.89 kB / 1.367 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/1.257, allocations: 463 kB / 1.367 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/1.257, allocations: 0.8187 MB / 1.368 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/1.257, allocations: 0 / 1.368 GB, free: 8.035 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)