Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSequencer.conf.json 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/MEV 1.1.1-master/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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) Running command: "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",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 3.2.3+maint.om/package.mo): time 0.001776/0.001776, allocations: 179 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006777/0.006777, allocations: 1.921 MB / 9.793 MB, free: 464 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9943/0.9943, allocations: 205.2 MB / 215.9 MB, free: 11.03 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.000837, allocations: 86.8 kB / 264.4 MB, free: 11.3 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08466/0.08552, allocations: 54.2 MB / 318.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.2482, allocations: 48.07 MB / 366.7 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06859/0.3168, allocations: 74.29 MB / 441 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.317, allocations: 63.95 kB / 441 MB, free: 8.742 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0254/0.3424, allocations: 9.723 MB / 450.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3425, allocations: 11.94 kB / 450.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3426, allocations: 82.97 kB / 450.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.3434, allocations: 0.5179 MB / 451.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.3434, allocations: 43.97 kB / 451.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3435, allocations: 32 kB / 451.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003746/0.3473, allocations: 2.372 MB / 453.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3487, allocations: 1.023 MB / 454.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3487, allocations: 0 / 454.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.3488, allocations: 15.92 kB / 454.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3488, allocations: 16 kB / 454.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.3536, allocations: 2.907 MB / 457.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3554, allocations: 1.401 MB / 459.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.3584, allocations: 2.241 MB / 461.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.3584, allocations: 8.656 kB / 461.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.3596, allocations: 0.9239 MB / 462.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.906e-06/0.3596, allocations: 0 / 462.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.002036/0.3617, allocations: 1.564 MB / 463.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3617, allocations: 92.31 kB / 464 MB, free: 1.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.3622, allocations: 453.1 kB / 464.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.3623, allocations: 45.69 kB / 464.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3624, allocations: 201.2 kB / 464.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.3626, allocations: 280 kB / 465 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.3627, allocations: 4 kB / 465 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3629, allocations: 390.8 kB / 465.4 MB, free: 244 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.3636, allocations: 0.5681 MB / 465.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008699/0.3645, allocations: 0.8432 MB / 466.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.3653, allocations: 0.6471 MB / 467.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3653, allocations: 0 / 467.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001867/0.3671, allocations: 1.448 MB / 468.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3672, allocations: 7.281 kB / 468.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3672, allocations: 8 kB / 468.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3672, allocations: 16.75 kB / 468.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3683, allocations: 295.6 kB / 469.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.3683, allocations: 27.83 kB / 469.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.369, allocations: 187.3 kB / 469.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.3691, allocations: 46.66 kB / 469.4 MB, free: 12.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.sequencer.generators[1].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * Array equations: 0 * 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.0002259/0.3693, allocations: 180.6 kB / 469.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3695, allocations: 67.16 kB / 469.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3697, allocations: 123.2 kB / 469.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3697, allocations: 12 kB / 469.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3697, allocations: 3.938 kB / 469.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3697, allocations: 3.984 kB / 469.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3709, allocations: 1.012 MB / 470.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3709, allocations: 7.844 kB / 470.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.3718, allocations: 243.8 kB / 471.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.3718, allocations: 4 kB / 471.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/0.3719, allocations: 11.98 kB / 471.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3719, allocations: 7.938 kB / 471.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3719, allocations: 4 kB / 471.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002044/0.374, allocations: 1.623 MB / 472.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002046/0.376, allocations: 2.014 MB / 474.7 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3762, allocations: 152.1 kB / 474.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3763, allocations: 3.984 kB / 474.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.377, allocations: 159.9 kB / 475.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007155/0.3777, allocations: 320.6 kB / 475.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.3778, allocations: 31.98 kB / 475.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003427/0.3781, allocations: 371 kB / 475.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001148/0.3793, allocations: 195.6 kB / 476 MB, free: 5.414 MB / 362.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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[1].offTime,sequencer.generators[2].offTime,sequencer.generators[3].offTime,sequencer.generators[4].offTime,sequencer.generators[5].offTime,sequencer.generators[6].offTime,sequencer.generators[7].offTime,sequencer.generators[8].offTime,sequencer.generators[9].offTime,sequencer.generators[10].offTime,sequencer.generators[11].offTime,sequencer.generators[12].offTime,sequencer.generators[13].offTime,sequencer.generators[14].offTime,sequencer.generators[15].offTime,sequencer.generators[16].offTime,sequencer.generators[17].offTime,sequencer.generators[18].offTime,sequencer.generators[19].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0001877/0.3795, allocations: 119.1 kB / 476.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.3814, allocations: 1.57 MB / 477.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3814, allocations: 0 / 477.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3824, allocations: 0.9173 MB / 478.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3827, allocations: 28.94 kB / 478.6 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.3868, allocations: 2.159 MB / 480.7 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/0.3877, allocations: 1.133 MB / 481.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3877, allocations: 0 / 481.9 MB, free: 15.42 MB / 378.7 MB (rm -f MEV_MEV.Test.TestSequencer.pipe ; mkfifo MEV_MEV.Test.TestSequencer.pipe ; head -c 1048576 < MEV_MEV.Test.TestSequencer.pipe >> ../files/MEV_MEV.Test.TestSequencer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSequencer_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1)