Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.1.4-maint.8.1.x/package.mo): time 1.404/1.404, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.0009672/0.0009673, allocations: 177.3 kB / 366.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.086/1.086, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0008228/0.0008228, allocations: 91.7 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.207/0.2079, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.6951, allocations: 116.3 MB / 0.9727 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.8406, allocations: 138.3 MB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.8409, allocations: 72.62 kB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.008527/0.8494, allocations: 3.119 MB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8494, allocations: 8 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.8495, allocations: 15.91 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.8498, allocations: 222.9 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.8498, allocations: 4 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.8498, allocations: 8 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.011e-05/0.8499, allocations: 46.06 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.85, allocations: 103.3 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.8501, allocations: 0 / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.8501, allocations: 0 / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8501, allocations: 4 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.8506, allocations: 473.3 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.8507, allocations: 49.2 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.8507, allocations: 29.77 kB / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.8507, allocations: 0 / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.191e-05/0.8508, allocations: 89.05 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.8508, allocations: 4 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001936/0.851, allocations: 93.55 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.8511, allocations: 85.05 kB / 1.112 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.8512, allocations: 131.3 kB / 1.112 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.8512, allocations: 29.7 kB / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.8513, allocations: 96.05 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.8513, allocations: 11.89 kB / 1.112 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.8513, allocations: 4 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.8514, allocations: 324.2 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.8516, allocations: 123.9 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8518, allocations: 161 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.8521, allocations: 131.8 kB / 1.113 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8521, allocations: 0 / 1.113 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006078/0.8528, allocations: 333.2 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.8528, allocations: 14.69 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8528, allocations: 0 / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8528, allocations: 4 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.39e-05/0.8528, allocations: 0 / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8528, allocations: 4 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.8532, allocations: 83.92 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.8532, allocations: 19.86 kB / 1.113 GB, free: 4.16 MB / 0.7136 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[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].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 8.36e-05/0.8533, allocations: 116.9 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.8533, allocations: 7.906 kB / 1.114 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.8534, allocations: 11.98 kB / 1.114 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8534, allocations: 5.688 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.8534, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8534, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.8535, allocations: 158.2 kB / 1.114 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8535, allocations: 0 / 1.114 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-06/0.8535, allocations: 7.984 kB / 1.114 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.8536, allocations: 96 / 1.114 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.8536, allocations: 11.89 kB / 1.114 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8536, allocations: 0 / 1.114 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8536, allocations: 4 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001307/0.8537, allocations: 135.5 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000211/0.8539, allocations: 0.5039 MB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.854, allocations: 85.02 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.854, allocations: 0 / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.854, allocations: 7.984 kB / 1.114 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.8541, allocations: 3.906 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.8541, allocations: 4 kB / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.194e-05/0.8541, allocations: 99.27 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007739/0.8549, allocations: 33.11 kB / 1.115 GB, free: 2.848 MB / 0.7136 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[1].y,$whenCondition1,$whenCondition2,booPul[2].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.0001374/0.8551, allocations: 119.1 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.8554, allocations: 235.2 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8554, allocations: 0 / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.8554, allocations: 31.98 kB / 1.115 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.8556, allocations: 16 kB / 1.115 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.8559, allocations: 152.1 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.8562, allocations: 0.7196 MB / 1.116 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8562, allocations: 4 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)