Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",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 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.000974, allocations: 188.5 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009289/0.0009288, allocations: 82.44 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.368/0.3689, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.5355, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/1.056, allocations: 135.9 MB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.057, allocations: 82.52 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01851/1.075, allocations: 5.467 MB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.075, allocations: 8 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/1.076, allocations: 19.69 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/1.076, allocations: 248.4 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.076, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.076, allocations: 8 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.52e-05/1.076, allocations: 42.2 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.076, allocations: 80.52 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.076, allocations: 0 / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.076, allocations: 0 / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.076, allocations: 4 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/1.077, allocations: 337.6 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/1.077, allocations: 74.92 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/1.077, allocations: 31.05 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.077, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/1.077, allocations: 77.95 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/1.077, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002854/1.077, allocations: 112.4 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.077, allocations: 81.11 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/1.078, allocations: 227.9 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/1.078, allocations: 29.02 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/1.078, allocations: 95.06 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/1.078, allocations: 26.19 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.078, allocations: 3.938 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.078, allocations: 332.8 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/1.078, allocations: 23 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/1.078, allocations: 60.73 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.799e-05/1.078, allocations: 37.84 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.078, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002028/1.078, allocations: 113 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.078, allocations: 8.062 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.078, allocations: 4 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.078, allocations: 0 / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/1.079, allocations: 8 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.079, allocations: 0 / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/1.079, allocations: 15.92 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/1.079, allocations: 4 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.973e-05/1.079, allocations: 116.5 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/1.079, allocations: 15.81 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/1.079, allocations: 116.4 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.079, allocations: 7.938 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.079, allocations: 0 / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.079, allocations: 3.984 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.079, allocations: 203.2 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.079, allocations: 0 / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/1.079, allocations: 11.98 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.079, allocations: 96 / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.079, allocations: 3.938 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.079, allocations: 4 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.079, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002039/1.08, allocations: 140 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003735/1.08, allocations: 0.5132 MB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/1.08, allocations: 107.6 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.08, allocations: 3.688 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/1.08, allocations: 4 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/1.08, allocations: 7.984 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.08, allocations: 0 / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001584/1.08, allocations: 192.1 kB / 1.026 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008091/1.081, allocations: 42.31 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.0007158/1.082, allocations: 327.4 kB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001855/1.082, allocations: 72.55 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.082, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/1.082, allocations: 41.98 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/1.083, allocations: 30.08 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/1.083, allocations: 221.8 kB / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/1.083, allocations: 0.7539 MB / 1.028 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.083, allocations: 0 / 1.028 GB, free: 9.191 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)