Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",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.00372/0.003719, allocations: 180 kB / 7.458 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7081/0.7081, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.47/1.47, allocations: 221.3 MB / 395 MB, free: 10.25 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.001016/0.001016, allocations: 97.41 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4853/0.4864, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.6572, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5265/1.184, allocations: 111.1 MB / 0.7418 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.184, allocations: 76.97 kB / 0.7419 GB, free: 10.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003659/1.188, allocations: 1.166 MB / 0.743 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.188, allocations: 7.688 kB / 0.743 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/1.188, allocations: 8.625 kB / 0.7431 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.188, allocations: 167.6 kB / 0.7432 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.188, allocations: 0.6094 kB / 0.7432 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/1.188, allocations: 8.453 kB / 0.7432 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.733e-05/1.188, allocations: 27.8 kB / 0.7433 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/1.188, allocations: 53.45 kB / 0.7433 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.188, allocations: 3.906 kB / 0.7433 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.188, allocations: 0.5625 kB / 0.7433 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.188, allocations: 1.75 kB / 0.7433 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/1.189, allocations: 272.5 kB / 0.7436 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/1.189, allocations: 49.77 kB / 0.7436 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/1.189, allocations: 23.42 kB / 0.7436 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/1.189, allocations: 0 / 0.7436 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.81e-05/1.189, allocations: 63.09 kB / 0.7437 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/1.189, allocations: 96 / 0.7437 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001842/1.189, allocations: 74.31 kB / 0.7438 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.189, allocations: 51.41 kB / 0.7438 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/1.189, allocations: 105.6 kB / 0.7439 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/1.189, allocations: 25.7 kB / 0.7439 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/1.189, allocations: 87.33 kB / 0.744 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/1.189, allocations: 22.81 kB / 0.744 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/1.189, allocations: 0 / 0.744 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.19, allocations: 328.1 kB / 0.7444 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/1.19, allocations: 14.78 kB / 0.7444 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/1.19, allocations: 40.69 kB / 0.7444 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/1.19, allocations: 19.88 kB / 0.7444 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.19, allocations: 0 / 0.7444 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/1.19, allocations: 85.59 kB / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.19, allocations: 9.234 kB / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.19, allocations: 0 / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.19, allocations: 1.875 kB / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/1.19, allocations: 12.94 kB / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.19, allocations: 3.938 kB / 0.7445 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/1.19, allocations: 13.94 kB / 0.7446 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.19, allocations: 11.81 kB / 0.7446 GB, free: 24.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.155e-05/1.19, allocations: 106.3 kB / 0.7447 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/1.19, allocations: 3.875 kB / 0.7447 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/1.19, allocations: 10.25 kB / 0.7447 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.19, allocations: 3.812 kB / 0.7447 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.19, allocations: 5.266 kB / 0.7447 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.19, allocations: 0 / 0.7447 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/1.191, allocations: 323.8 kB / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.191, allocations: 0 / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/1.191, allocations: 3.75 kB / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.191, allocations: 1.547 kB / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.191, allocations: 0 / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.191, allocations: 9.812 kB / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.191, allocations: 0 / 0.745 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001496/1.191, allocations: 165.9 kB / 0.7452 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002842/1.191, allocations: 0.5327 MB / 0.7457 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/1.191, allocations: 86.55 kB / 0.7458 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.191, allocations: 0 / 0.7458 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/1.191, allocations: 18.44 kB / 0.7458 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.191, allocations: 6.844 kB / 0.7458 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/1.191, allocations: 3.875 kB / 0.7458 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.034e-05/1.191, allocations: 85.05 kB / 0.7459 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007714/1.192, allocations: 11.38 kB / 0.7459 GB, free: 23.73 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000128/1.192, allocations: 104.4 kB / 0.746 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001117/1.193, allocations: 53.3 kB / 0.746 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.193, allocations: 0 / 0.746 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/1.193, allocations: 20.38 kB / 0.7461 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/1.193, allocations: 12.84 kB / 0.7461 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/1.193, allocations: 115.5 kB / 0.7462 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/1.194, allocations: 0.7062 MB / 0.7469 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/1.194, allocations: 0 / 0.7469 GB, free: 22.83 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)