Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.257/2.257, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001619/0.001619, allocations: 185.2 kB / 360.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 0.6187 GB, free: 12.45 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.001194/0.001194, allocations: 88.5 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2694/0.2707, allocations: 121.4 MB / 0.8502 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.9073, allocations: 115.2 MB / 0.9627 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.14, allocations: 141 MB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.141, allocations: 82.03 kB / 1.101 GB, free: 15.7 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02551/1.166, allocations: 5.468 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.166, allocations: 8.5 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/1.167, allocations: 21.62 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/1.167, allocations: 248.2 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.167, allocations: 0 / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/1.167, allocations: 8.703 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/1.167, allocations: 32 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/1.168, allocations: 84.78 kB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.168, allocations: 0.6875 kB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.168, allocations: 0 / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/1.168, allocations: 11.47 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/1.168, allocations: 338.3 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/1.169, allocations: 66.69 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/1.169, allocations: 36.83 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/1.169, allocations: 3.984 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/1.169, allocations: 80.59 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.026e-06/1.169, allocations: 0 / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000365/1.169, allocations: 101.5 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.169, allocations: 85.11 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/1.17, allocations: 227 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/1.17, allocations: 33.69 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/1.17, allocations: 100 kB / 1.107 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/1.17, allocations: 27.64 kB / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/1.17, allocations: 0 / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.17, allocations: 330.8 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/1.17, allocations: 31.98 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/1.17, allocations: 55.42 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/1.17, allocations: 32.55 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.17, allocations: 0 / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002985/1.171, allocations: 110.1 kB / 1.108 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.171, allocations: 4 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.171, allocations: 7.75 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.171, allocations: 4.062 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.171, allocations: 11.98 kB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.171, allocations: 0 / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/1.171, allocations: 15.84 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.171, allocations: 0 / 1.108 GB, free: 8.035 MB / 0.7136 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 0.0001101/1.171, allocations: 112.9 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/1.171, allocations: 15.81 kB / 1.108 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/1.172, allocations: 128.3 kB / 1.108 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.172, allocations: 4 kB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.172, allocations: 0 / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.172, allocations: 3.984 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/1.172, allocations: 202.1 kB / 1.108 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.172, allocations: 4 kB / 1.108 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/1.172, allocations: 4 kB / 1.108 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.172, allocations: 3.938 kB / 1.108 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.172, allocations: 0 / 1.108 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.172, allocations: 5.469 kB / 1.108 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.172, allocations: 4 kB / 1.108 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003089/1.173, allocations: 145.7 kB / 1.108 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004379/1.173, allocations: 0.5121 MB / 1.109 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.173, allocations: 96.92 kB / 1.109 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/1.173, allocations: 0 / 1.109 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.173, allocations: 15.98 kB / 1.109 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/1.173, allocations: 4 kB / 1.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/1.173, allocations: 7.922 kB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002896/1.174, allocations: 188.2 kB / 1.109 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001196/1.175, allocations: 47.83 kB / 1.109 GB, free: 6.449 MB / 0.7136 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.0009326/1.176, allocations: 317.3 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002977/1.176, allocations: 79.86 kB / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.176, allocations: 0 / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/1.176, allocations: 32 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.177, allocations: 32.19 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.178, allocations: 224.6 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/1.178, allocations: 0.7625 MB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/1.179, allocations: 0 / 1.111 GB, free: 5.102 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)