Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",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.006629/0.006629, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7383/0.7383, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.582/1.582, allocations: 221.3 MB / 395 MB, free: 10.13 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.001345/0.001345, allocations: 105 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.59/0.5914, allocations: 88.42 MB / 0.5529 GB, free: 89.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.7963, allocations: 82.29 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6127/1.409, allocations: 111.1 MB / 0.7418 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/1.409, allocations: 68.06 kB / 0.7418 GB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003879/1.413, allocations: 1.298 MB / 0.7431 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.413, allocations: 7.625 kB / 0.7431 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/1.413, allocations: 8.469 kB / 0.7431 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/1.414, allocations: 168.2 kB / 0.7433 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.414, allocations: 0 / 0.7433 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/1.414, allocations: 5.078 kB / 0.7433 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.551e-05/1.414, allocations: 10.81 kB / 0.7433 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/1.414, allocations: 56.58 kB / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.414, allocations: 0 / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.414, allocations: 5.75 kB / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.414, allocations: 7.781 kB / 0.7433 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/1.414, allocations: 239.1 kB / 0.7436 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/1.415, allocations: 41.7 kB / 0.7436 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/1.415, allocations: 16.11 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/1.415, allocations: 3.906 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/1.415, allocations: 104.8 kB / 0.7437 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/1.415, allocations: 0 / 0.7437 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001969/1.415, allocations: 69.56 kB / 0.7438 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.415, allocations: 78.66 kB / 0.7439 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/1.415, allocations: 104.9 kB / 0.744 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.415, allocations: 25.7 kB / 0.744 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/1.415, allocations: 81.73 kB / 0.7441 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/1.415, allocations: 28.03 kB / 0.7441 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/1.415, allocations: 0 / 0.7441 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.415, allocations: 323.5 kB / 0.7444 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/1.415, allocations: 18 kB / 0.7444 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/1.415, allocations: 32.88 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/1.415, allocations: 13.88 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.415, allocations: 3.844 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001168/1.416, allocations: 80.94 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.416, allocations: 7.75 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.416, allocations: 0 / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.416, allocations: 3.844 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/1.416, allocations: 0 / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.416, allocations: 5.531 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/1.416, allocations: 5.344 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.416, allocations: 7.906 kB / 0.7446 GB, free: 25.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.000119/1.416, allocations: 139.7 kB / 0.7447 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/1.416, allocations: 9.328 kB / 0.7447 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/1.416, allocations: 7.625 kB / 0.7447 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/1.416, allocations: 0 / 0.7447 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.416, allocations: 2.312 kB / 0.7447 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.416, allocations: 1.594 kB / 0.7447 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/1.416, allocations: 330.2 kB / 0.7451 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.416, allocations: 7.984 kB / 0.7451 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/1.416, allocations: 0 / 0.7451 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.416, allocations: 4.969 kB / 0.7451 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.416, allocations: 0.875 kB / 0.7451 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.416, allocations: 0 / 0.7451 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.416, allocations: 5.453 kB / 0.7451 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001841/1.417, allocations: 176.5 kB / 0.7452 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003333/1.417, allocations: 0.5464 MB / 0.7458 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/1.417, allocations: 81.02 kB / 0.7458 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/1.417, allocations: 5.219 kB / 0.7459 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.417, allocations: 10.72 kB / 0.7459 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.417, allocations: 10.7 kB / 0.7459 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.417, allocations: 10.84 kB / 0.7459 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.052e-05/1.417, allocations: 87.48 kB / 0.746 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008182/1.418, allocations: 11.47 kB / 0.746 GB, free: 23.84 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001611/1.418, allocations: 104.3 kB / 0.7461 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001753/1.419, allocations: 71.06 kB / 0.7461 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.419, allocations: 0 / 0.7461 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/1.419, allocations: 63.66 kB / 0.7462 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.0002714/1.419, allocations: 18.75 kB / 0.7462 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/1.419, allocations: 95.64 kB / 0.7463 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.42, allocations: 0.7043 MB / 0.747 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.42, allocations: 0 / 0.747 GB, free: 22.89 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)