Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 187.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5156/0.5156, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.4 MB / 342.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 96 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1641/0.1651, allocations: 78.44 MB / 493.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.5051, allocations: 72.31 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.6214, allocations: 105.2 MB / 0.6557 GB, free: 4.816 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.6216, allocations: 77.55 kB / 0.6557 GB, free: 4.742 MB / 474.7 MB 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.01638/0.638, allocations: 5.617 MB / 0.6612 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6381, allocations: 8.625 kB / 0.6612 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.6382, allocations: 15.81 kB / 0.6613 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6386, allocations: 248.5 kB / 0.6615 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.6387, allocations: 0 / 0.6615 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.6387, allocations: 5.094 kB / 0.6615 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.6388, allocations: 37.33 kB / 0.6615 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.639, allocations: 84.67 kB / 0.6616 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.639, allocations: 0 / 0.6616 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.6391, allocations: 0 / 0.6616 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.6391, allocations: 8.531 kB / 0.6616 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.6397, allocations: 335.2 kB / 0.6619 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.6398, allocations: 76.34 kB / 0.662 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.6399, allocations: 28.92 kB / 0.662 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.6399, allocations: 0.9062 kB / 0.662 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.64, allocations: 76.42 kB / 0.6621 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.64, allocations: 2.625 kB / 0.6621 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002778/0.6403, allocations: 110.1 kB / 0.6622 GB, free: 14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6404, allocations: 82.08 kB / 0.6623 GB, free: 13.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.6406, allocations: 237.6 kB / 0.6625 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6407, allocations: 27.52 kB / 0.6626 GB, free: 13.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.6407, allocations: 99.98 kB / 0.6626 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.6408, allocations: 27.64 kB / 0.6627 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6408, allocations: 112 / 0.6627 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6409, allocations: 331.4 kB / 0.663 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.641, allocations: 24.75 kB / 0.663 GB, free: 13.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.641, allocations: 60.45 kB / 0.6631 GB, free: 13.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.6411, allocations: 34.72 kB / 0.6631 GB, free: 13.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6411, allocations: 4 kB / 0.6631 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002008/0.6413, allocations: 116.3 kB / 0.6632 GB, free: 12.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6414, allocations: 4.719 kB / 0.6632 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6414, allocations: 4.594 kB / 0.6632 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6414, allocations: 3 kB / 0.6632 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.6415, allocations: 12.78 kB / 0.6632 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.6415, allocations: 0 / 0.6632 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.6416, allocations: 8.984 kB / 0.6633 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.6416, allocations: 4.531 kB / 0.6633 GB, free: 12.89 MB / 490.7 MB 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.984e-05/0.6417, allocations: 110.7 kB / 0.6634 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.6417, allocations: 19.72 kB / 0.6634 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.642, allocations: 114.5 kB / 0.6635 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.642, allocations: 4.531 kB / 0.6635 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.642, allocations: 4.781 kB / 0.6635 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.642, allocations: 0 / 0.6635 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.6422, allocations: 210 kB / 0.6637 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6422, allocations: 1.094 kB / 0.6637 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.6423, allocations: 11.98 kB / 0.6637 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6423, allocations: 0.8438 kB / 0.6637 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6423, allocations: 0 / 0.6637 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6423, allocations: 0 / 0.6637 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6423, allocations: 0.5312 kB / 0.6637 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000199/0.6425, allocations: 145.4 kB / 0.6639 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000282/0.6428, allocations: 0.5129 MB / 0.6644 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.6429, allocations: 100.9 kB / 0.6645 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.6429, allocations: 6.656 kB / 0.6645 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.643, allocations: 4 kB / 0.6645 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.6431, allocations: 11.98 kB / 0.6645 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.6431, allocations: 0 / 0.6645 GB, free: 11.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001609/0.6433, allocations: 184.6 kB / 0.6646 GB, free: 11.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000832/0.6441, allocations: 43.94 kB / 0.6647 GB, free: 11.32 MB / 490.7 MB 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.0007458/0.6449, allocations: 331.1 kB / 0.665 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6451, allocations: 71.98 kB / 0.6651 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6451, allocations: 4.062 kB / 0.6651 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.6452, allocations: 43.92 kB / 0.6651 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.6454, allocations: 22.47 kB / 0.6651 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.6459, allocations: 229 kB / 0.6654 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.6463, allocations: 0.7469 MB / 0.6661 GB, free: 9.984 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6463, allocations: 4 kB / 0.6661 GB, free: 9.98 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)