Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7983/0.7983, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 177.3 kB / 164.4 MB, free: 6.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 87.31 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3617/0.363, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.5537, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/1.066, allocations: 105.8 MB / 0.7243 GB, free: 6.582 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.066, allocations: 83.94 kB / 0.7244 GB, free: 6.5 MB / 490.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.01607/1.082, allocations: 5.465 MB / 0.7297 GB, free: 1.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.082, allocations: 8 kB / 0.7297 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/1.082, allocations: 23.8 kB / 0.7297 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/1.083, allocations: 259.6 kB / 0.73 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/1.083, allocations: 0 / 0.73 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.083, allocations: 4 kB / 0.73 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001147/1.083, allocations: 35.98 kB / 0.73 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.083, allocations: 79.39 kB / 0.7301 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.083, allocations: 4.734 kB / 0.7301 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.083, allocations: 0 / 0.7301 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.083, allocations: 4 kB / 0.7301 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/1.084, allocations: 341.2 kB / 0.7304 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1.084, allocations: 66.69 kB / 0.7305 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/1.084, allocations: 32.91 kB / 0.7305 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.084, allocations: 0 / 0.7305 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/1.084, allocations: 87.36 kB / 0.7306 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.084, allocations: 0 / 0.7306 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003369/1.085, allocations: 105.4 kB / 0.7307 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.085, allocations: 81.11 kB / 0.7308 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/1.085, allocations: 234 kB / 0.731 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.085, allocations: 29.64 kB / 0.731 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/1.085, allocations: 100.1 kB / 0.7311 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/1.085, allocations: 19.72 kB / 0.7312 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.085, allocations: 0 / 0.7312 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.085, allocations: 334.8 kB / 0.7315 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/1.085, allocations: 24 kB / 0.7315 GB, free: 15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/1.086, allocations: 57.61 kB / 0.7316 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/1.086, allocations: 35.89 kB / 0.7316 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/1.086, allocations: 4 kB / 0.7316 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002043/1.086, allocations: 113.5 kB / 0.7317 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.086, allocations: 4 kB / 0.7317 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.086, allocations: 4 kB / 0.7317 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.086, allocations: 3.984 kB / 0.7317 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/1.086, allocations: 8 kB / 0.7317 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.086, allocations: 3.938 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/1.086, allocations: 7.938 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/1.086, allocations: 7.906 kB / 0.7317 GB, free: 14.74 MB / 0.4948 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.0001129/1.086, allocations: 117.1 kB / 0.7319 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/1.086, allocations: 19.75 kB / 0.7319 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/1.087, allocations: 115 kB / 0.732 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.087, allocations: 8 kB / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.087, allocations: 0 / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.087, allocations: 0 / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/1.087, allocations: 206 kB / 0.7322 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.087, allocations: 0 / 0.7322 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/1.087, allocations: 11.94 kB / 0.7322 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.087, allocations: 4 kB / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.087, allocations: 3.984 kB / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.087, allocations: 4 kB / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.087, allocations: 0 / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002161/1.087, allocations: 137.1 kB / 0.7323 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003634/1.088, allocations: 0.5209 MB / 0.7328 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/1.088, allocations: 100.9 kB / 0.7329 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/1.088, allocations: 3.938 kB / 0.7329 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/1.088, allocations: 4 kB / 0.733 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/1.088, allocations: 7.984 kB / 0.733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/1.088, allocations: 0 / 0.733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001805/1.088, allocations: 192.4 kB / 0.7331 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008554/1.089, allocations: 39.94 kB / 0.7332 GB, free: 13.15 MB / 0.4948 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.0008417/1.09, allocations: 320.9 kB / 0.7335 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000203/1.09, allocations: 75.92 kB / 0.7336 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.09, allocations: 0 / 0.7336 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/1.09, allocations: 39.98 kB / 0.7336 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/1.09, allocations: 31.89 kB / 0.7336 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/1.091, allocations: 235.8 kB / 0.7339 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/1.091, allocations: 0.7508 MB / 0.7346 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/1.091, allocations: 0 / 0.7346 GB, free: 11.73 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)