Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_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.003292/0.003292, allocations: 179.4 kB / 7.457 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6808/0.6808, allocations: 133.5 MB / 141.4 MB, free: 15.74 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 395 MB, free: 10.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 89.84 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5012/0.5022, allocations: 88.43 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.6993, allocations: 82.3 MB / 0.6333 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7228/1.422, allocations: 114.9 MB / 0.7456 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/1.423, allocations: 79.3 kB / 0.7456 GB, free: 11.04 MB / 0.4948 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.02481/1.447, allocations: 5.601 MB / 0.7511 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.448, allocations: 12.44 kB / 0.7511 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/1.448, allocations: 19.38 kB / 0.7511 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/1.448, allocations: 253 kB / 0.7514 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/1.448, allocations: 1.344 kB / 0.7514 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.448, allocations: 2.594 kB / 0.7514 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001524/1.448, allocations: 32.81 kB / 0.7514 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.449, allocations: 96.48 kB / 0.7515 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.449, allocations: 4 kB / 0.7515 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/1.449, allocations: 7.281 kB / 0.7515 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/1.449, allocations: 3.812 kB / 0.7515 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/1.45, allocations: 330.1 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/1.45, allocations: 68.77 kB / 0.7519 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/1.45, allocations: 35.67 kB / 0.7519 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.45, allocations: 0 / 0.7519 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/1.45, allocations: 76.58 kB / 0.752 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/1.45, allocations: 1.344 kB / 0.752 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0004431/1.451, allocations: 104.9 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/1.451, allocations: 82.42 kB / 0.7522 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/1.451, allocations: 236.8 kB / 0.7524 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/1.451, allocations: 27.02 kB / 0.7524 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/1.451, allocations: 96.77 kB / 0.7525 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/1.451, allocations: 26.77 kB / 0.7526 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/1.451, allocations: 0 / 0.7526 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.451, allocations: 330.1 kB / 0.7529 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/1.452, allocations: 25.41 kB / 0.7529 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/1.452, allocations: 59.36 kB / 0.7529 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/1.452, allocations: 40.81 kB / 0.753 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.452, allocations: 0 / 0.753 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003052/1.452, allocations: 107.5 kB / 0.7531 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.452, allocations: 5.312 kB / 0.7531 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.452, allocations: 3.375 kB / 0.7531 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.452, allocations: 5.219 kB / 0.7531 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.452, allocations: 17.78 kB / 0.7531 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.452, allocations: 112 / 0.7531 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/1.452, allocations: 12 kB / 0.7531 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/1.453, allocations: 2.375 kB / 0.7531 GB, free: 24.92 MB / 0.5105 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.0001264/1.453, allocations: 110.9 kB / 0.7532 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/1.453, allocations: 19.34 kB / 0.7533 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.453, allocations: 113.3 kB / 0.7534 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.453, allocations: 6.594 kB / 0.7534 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.453, allocations: 5.281 kB / 0.7534 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.453, allocations: 0 / 0.7534 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/1.453, allocations: 206.3 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.453, allocations: 0 / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/1.454, allocations: 9.125 kB / 0.7536 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.454, allocations: 0 / 0.7536 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.454, allocations: 4.688 kB / 0.7536 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.454, allocations: 1.344 kB / 0.7536 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.454, allocations: 0 / 0.7536 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003666/1.454, allocations: 140.2 kB / 0.7537 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000496/1.455, allocations: 0.5172 MB / 0.7542 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/1.455, allocations: 100.3 kB / 0.7543 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/1.455, allocations: 5.469 kB / 0.7543 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.455, allocations: 6.562 kB / 0.7543 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/1.455, allocations: 13.16 kB / 0.7543 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/1.455, allocations: 2.688 kB / 0.7543 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003431/1.455, allocations: 185.5 kB / 0.7545 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001679/1.457, allocations: 42.22 kB / 0.7546 GB, free: 23.86 MB / 0.5105 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.001228/1.458, allocations: 314.6 kB / 0.7549 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003914/1.459, allocations: 84.14 kB / 0.7549 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.459, allocations: 0 / 0.7549 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/1.459, allocations: 36.62 kB / 0.755 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/1.459, allocations: 28.56 kB / 0.755 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.46, allocations: 230.7 kB / 0.7552 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/1.461, allocations: 0.7526 MB / 0.756 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/1.461, allocations: 4.594 kB / 0.756 GB, free: 22.87 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)