Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_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.004305/0.004305, allocations: 184.4 kB / 7.462 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7183/0.7183, 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.524/1.524, 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.001023/0.001023, allocations: 90.84 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4542/0.4553, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.6212, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/1.115, allocations: 111.1 MB / 0.7418 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/1.116, allocations: 73.45 kB / 0.7419 GB, free: 10.84 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.003135/1.119, allocations: 1.167 MB / 0.743 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.119, allocations: 11.69 kB / 0.7431 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/1.119, allocations: 7.719 kB / 0.7431 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.119, allocations: 168.5 kB / 0.7432 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.119, allocations: 3.812 kB / 0.7432 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/1.119, allocations: 5.297 kB / 0.7432 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.956e-05/1.119, allocations: 22.03 kB / 0.7432 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/1.119, allocations: 52.2 kB / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.119, allocations: 3.906 kB / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.119, allocations: 0 / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.119, allocations: 0 / 0.7433 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/1.12, allocations: 274.2 kB / 0.7436 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/1.12, allocations: 49.7 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/1.12, allocations: 20.42 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/1.12, allocations: 5.766 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.88e-05/1.12, allocations: 64.56 kB / 0.7437 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/1.12, allocations: 0.875 kB / 0.7437 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001585/1.12, allocations: 71.61 kB / 0.7438 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/1.12, allocations: 52.67 kB / 0.7438 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/1.12, allocations: 105.7 kB / 0.7439 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.12, allocations: 25.7 kB / 0.7439 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/1.12, allocations: 85.45 kB / 0.744 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/1.12, allocations: 21.2 kB / 0.744 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.12, allocations: 0 / 0.744 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.12, allocations: 327 kB / 0.7444 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/1.12, allocations: 15.59 kB / 0.7444 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/1.12, allocations: 41.03 kB / 0.7444 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/1.121, allocations: 17.7 kB / 0.7444 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.121, allocations: 3.875 kB / 0.7444 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001163/1.121, allocations: 83.56 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.121, allocations: 5.016 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.121, allocations: 3.844 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/1.121, allocations: 288 / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/1.121, allocations: 16.58 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.121, allocations: 3.812 kB / 0.7445 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/1.121, allocations: 14.89 kB / 0.7446 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.121, allocations: 3.844 kB / 0.7446 GB, free: 25.14 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 7.753e-05/1.121, allocations: 112.7 kB / 0.7447 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/1.121, allocations: 3.844 kB / 0.7447 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/1.121, allocations: 9.406 kB / 0.7447 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.121, allocations: 0 / 0.7447 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.121, allocations: 3.906 kB / 0.7447 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.121, allocations: 4 kB / 0.7447 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/1.121, allocations: 322.4 kB / 0.745 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.121, allocations: 0 / 0.745 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/1.121, allocations: 5.344 kB / 0.745 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.121, allocations: 7.938 kB / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.121, allocations: 0 / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.121, allocations: 0.9375 kB / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.121, allocations: 1.547 kB / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001237/1.122, allocations: 169.6 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000232/1.122, allocations: 0.5356 MB / 0.7457 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/1.122, allocations: 84.89 kB / 0.7458 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.122, allocations: 5.391 kB / 0.7458 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/1.122, allocations: 5.375 kB / 0.7458 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/1.122, allocations: 12.97 kB / 0.7458 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.122, allocations: 5.656 kB / 0.7458 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.847e-05/1.122, allocations: 82.88 kB / 0.7459 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008099/1.123, allocations: 16.7 kB / 0.7459 GB, free: 23.9 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 9.85e-05/1.123, allocations: 99.31 kB / 0.746 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001013/1.123, allocations: 44.78 kB / 0.746 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.123, allocations: 0 / 0.746 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/1.123, allocations: 30.38 kB / 0.7461 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/1.123, allocations: 8.875 kB / 0.7461 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/1.124, allocations: 115.5 kB / 0.7462 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/1.124, allocations: 0.7072 MB / 0.7469 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.124, allocations: 0 / 0.7469 GB, free: 23.02 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)