Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_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.002786/0.002786, allocations: 183.8 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6987/0.6987, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.529/1.529, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009929/0.0009926, allocations: 100.2 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4793/0.4804, allocations: 88.42 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.698, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5958/1.294, allocations: 114.9 MB / 0.7456 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.294, allocations: 76.66 kB / 0.7456 GB, free: 10.7 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.01669/1.311, allocations: 5.598 MB / 0.7511 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.311, allocations: 8.875 kB / 0.7511 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/1.311, allocations: 23.25 kB / 0.7511 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/1.312, allocations: 253.1 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.312, allocations: 1.281 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/1.312, allocations: 2.688 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001052/1.312, allocations: 37.61 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.312, allocations: 86.11 kB / 0.7515 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.312, allocations: 3.938 kB / 0.7515 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.312, allocations: 7.906 kB / 0.7515 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/1.312, allocations: 2.594 kB / 0.7515 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/1.313, allocations: 337.7 kB / 0.7518 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/1.313, allocations: 72.16 kB / 0.7519 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/1.313, allocations: 30.05 kB / 0.7519 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/1.313, allocations: 1.281 kB / 0.7519 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/1.313, allocations: 72.58 kB / 0.752 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/1.313, allocations: 4 kB / 0.752 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003369/1.313, allocations: 110.7 kB / 0.7521 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.313, allocations: 78.55 kB / 0.7522 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/1.314, allocations: 234.8 kB / 0.7524 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/1.314, allocations: 25.7 kB / 0.7524 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/1.314, allocations: 103.4 kB / 0.7525 GB, free: 25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/1.314, allocations: 26.44 kB / 0.7525 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/1.314, allocations: 1.312 kB / 0.7526 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.314, allocations: 332.1 kB / 0.7529 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/1.314, allocations: 25.03 kB / 0.7529 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/1.314, allocations: 53.95 kB / 0.7529 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/1.314, allocations: 38.12 kB / 0.753 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.314, allocations: 0 / 0.753 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002126/1.315, allocations: 110.8 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.315, allocations: 9.312 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.315, allocations: 1.281 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.315, allocations: 3.906 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/1.315, allocations: 12.38 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.315, allocations: 1.312 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/1.315, allocations: 5.094 kB / 0.7531 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1.315, allocations: 5.688 kB / 0.7531 GB, free: 24.59 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.0001101/1.315, allocations: 110.8 kB / 0.7532 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/1.315, allocations: 26.16 kB / 0.7533 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/1.315, allocations: 120.6 kB / 0.7534 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.315, allocations: 5.938 kB / 0.7534 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.315, allocations: 1.281 kB / 0.7534 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.315, allocations: 0 / 0.7534 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/1.315, allocations: 200.6 kB / 0.7536 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.315, allocations: 1.312 kB / 0.7536 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/1.315, allocations: 7.906 kB / 0.7536 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/1.315, allocations: 1.375 kB / 0.7536 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/1.316, allocations: 7.703 kB / 0.7536 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.316, allocations: 4 kB / 0.7536 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.316, allocations: 0 / 0.7536 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002423/1.316, allocations: 139.3 kB / 0.7537 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004423/1.316, allocations: 0.5112 MB / 0.7542 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/1.316, allocations: 107.7 kB / 0.7543 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/1.316, allocations: 5.656 kB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/1.316, allocations: 3.344 kB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/1.317, allocations: 13.25 kB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.317, allocations: 2.281 kB / 0.7543 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003144/1.317, allocations: 188.8 kB / 0.7545 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008885/1.318, allocations: 38.38 kB / 0.7546 GB, free: 23.52 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.000863/1.319, allocations: 324.5 kB / 0.7549 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002396/1.319, allocations: 73.48 kB / 0.7549 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.319, allocations: 0 / 0.7549 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/1.319, allocations: 45.09 kB / 0.755 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.319, allocations: 27.92 kB / 0.755 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/1.32, allocations: 228.8 kB / 0.7552 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/1.32, allocations: 0.756 MB / 0.756 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.32, allocations: 0 / 0.756 GB, free: 22.53 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)