Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.000932, allocations: 183.5 kB / 487 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 6.746 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008356/0.0008355, allocations: 104.9 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2256/0.2265, allocations: 148.5 MB / 1.066 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.802, allocations: 142.3 MB / 1.205 GB, free: 72.71 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.9607, allocations: 148.9 MB / 1.351 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.9609, allocations: 71.94 kB / 1.351 GB, free: 14.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01056/0.9715, allocations: 3.884 MB / 1.355 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.9715, allocations: 8 kB / 1.355 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.9716, allocations: 19.81 kB / 1.355 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.972, allocations: 241.9 kB / 1.355 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.972, allocations: 4 kB / 1.355 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.972, allocations: 12 kB / 1.355 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.527e-05/0.9721, allocations: 40.61 kB / 1.355 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.9723, allocations: 121 kB / 1.355 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.9723, allocations: 0 / 1.355 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.9723, allocations: 4 kB / 1.355 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.9723, allocations: 3.906 kB / 1.355 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.9729, allocations: 0.6655 MB / 1.356 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.9729, allocations: 41.14 kB / 1.356 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.973, allocations: 18.59 kB / 1.356 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.973, allocations: 3.938 kB / 1.356 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/0.9731, allocations: 77.03 kB / 1.356 GB, free: 9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.9731, allocations: 0 / 1.356 GB, free: 9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001735/0.9733, allocations: 77.52 kB / 1.356 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9733, allocations: 81.11 kB / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.9734, allocations: 149.2 kB / 1.356 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.9735, allocations: 33.7 kB / 1.356 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.9735, allocations: 114.3 kB / 1.356 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.9736, allocations: 15.89 kB / 1.356 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.9736, allocations: 0 / 1.356 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.9737, allocations: 322.8 kB / 1.356 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.9738, allocations: 44 kB / 1.357 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.9739, allocations: 130.8 kB / 1.357 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.9742, allocations: 76.52 kB / 1.357 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9743, allocations: 0 / 1.357 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004922/0.9748, allocations: 197.3 kB / 1.357 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.9748, allocations: 7.984 kB / 1.357 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9748, allocations: 0 / 1.357 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.9748, allocations: 4.625 kB / 1.357 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.541e-05/0.9748, allocations: 12.06 kB / 1.357 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.9748, allocations: 4 kB / 1.357 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.9752, allocations: 87.83 kB / 1.357 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.9753, allocations: 8 kB / 1.357 GB, free: 7.59 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001185/0.9754, allocations: 113 kB / 1.357 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.9754, allocations: 12.45 kB / 1.357 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.9754, allocations: 8.125 kB / 1.357 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9754, allocations: 0 / 1.357 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.9755, allocations: 0 / 1.357 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.9755, allocations: 3.906 kB / 1.357 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.9756, allocations: 183.1 kB / 1.357 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.9756, allocations: 0 / 1.357 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.9756, allocations: 3.938 kB / 1.357 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9756, allocations: 0 / 1.357 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.9756, allocations: 4 kB / 1.357 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9756, allocations: 1.797 kB / 1.357 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9756, allocations: 0.75 kB / 1.357 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001152/0.9758, allocations: 119.5 kB / 1.357 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001998/0.976, allocations: 497 kB / 1.358 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.976, allocations: 85.11 kB / 1.358 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.976, allocations: 4 kB / 1.358 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.9761, allocations: 7.984 kB / 1.358 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.9761, allocations: 7.891 kB / 1.358 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.9761, allocations: 4 kB / 1.358 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.616e-05/0.9762, allocations: 116.3 kB / 1.358 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007903/0.977, allocations: 39.94 kB / 1.358 GB, free: 6.289 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000151/0.9771, allocations: 116 kB / 1.358 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.9774, allocations: 153.2 kB / 1.358 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9774, allocations: 4.062 kB / 1.358 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.9775, allocations: 27.94 kB / 1.358 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.9776, allocations: 11.98 kB / 1.359 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.978, allocations: 156.7 kB / 1.359 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.9782, allocations: 0.7344 MB / 1.359 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/0.9782, allocations: 0 / 1.359 GB, free: 5.023 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1)