Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.003443/0.003443, allocations: 180 kB / 7.458 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.7185/0.7185, 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.608/1.608, allocations: 221.4 MB / 395 MB, free: 10.23 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.001031/0.001031, allocations: 103.1 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4901/0.4912, allocations: 88.42 MB / 0.5529 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.7207, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5608/1.282, allocations: 111.2 MB / 0.7419 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.282, allocations: 68.92 kB / 0.742 GB, free: 10.55 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.004298/1.286, allocations: 1.442 MB / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.286, allocations: 7.75 kB / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/1.286, allocations: 9.297 kB / 0.7434 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/1.286, allocations: 165.9 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/1.287, allocations: 1.734 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/1.287, allocations: 6.031 kB / 0.7436 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.521e-05/1.287, allocations: 31.95 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.287, allocations: 49.14 kB / 0.7437 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.287, allocations: 0 / 0.7437 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.287, allocations: 0 / 0.7437 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.287, allocations: 0 / 0.7437 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/1.287, allocations: 276.3 kB / 0.7439 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/1.287, allocations: 48.58 kB / 0.744 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/1.287, allocations: 22.73 kB / 0.744 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.287, allocations: 3.984 kB / 0.744 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/1.288, allocations: 63.28 kB / 0.7441 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/1.288, allocations: 0 / 0.7441 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001872/1.288, allocations: 74.55 kB / 0.7441 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.288, allocations: 56.62 kB / 0.7442 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/1.288, allocations: 99.91 kB / 0.7443 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.288, allocations: 25.7 kB / 0.7443 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/1.288, allocations: 86.39 kB / 0.7444 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/1.288, allocations: 24.23 kB / 0.7444 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.288, allocations: 4 kB / 0.7444 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.288, allocations: 325.5 kB / 0.7447 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/1.288, allocations: 11.34 kB / 0.7447 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/1.288, allocations: 43.09 kB / 0.7448 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/1.288, allocations: 17.09 kB / 0.7448 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.288, allocations: 3.875 kB / 0.7448 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001187/1.288, allocations: 86.23 kB / 0.7449 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.288, allocations: 7.781 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.288, allocations: 3.781 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.288, allocations: 0.625 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/1.289, allocations: 9.344 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.289, allocations: 8.672 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/1.289, allocations: 6.469 kB / 0.7449 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.289, allocations: 3.812 kB / 0.7449 GB, free: 24.83 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 9.587e-05/1.289, allocations: 116.9 kB / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/1.289, allocations: 4.375 kB / 0.745 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/1.289, allocations: 8.656 kB / 0.745 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.289, allocations: 0 / 0.745 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.289, allocations: 3.906 kB / 0.7451 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.289, allocations: 3.781 kB / 0.7451 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/1.289, allocations: 329.2 kB / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.289, allocations: 0 / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/1.289, allocations: 3.844 kB / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.289, allocations: 0 / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.289, allocations: 1.688 kB / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.289, allocations: 0 / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.289, allocations: 3.938 kB / 0.7454 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001454/1.289, allocations: 169.5 kB / 0.7455 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003298/1.29, allocations: 0.5336 MB / 0.7461 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.29, allocations: 86.83 kB / 0.7461 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/1.29, allocations: 7.875 kB / 0.7462 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/1.29, allocations: 11.36 kB / 0.7462 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.29, allocations: 7 kB / 0.7462 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/1.29, allocations: 7.375 kB / 0.7462 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.44e-05/1.29, allocations: 84.52 kB / 0.7463 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007688/1.291, allocations: 11.47 kB / 0.7463 GB, free: 23.59 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.0001395/1.291, allocations: 107 kB / 0.7464 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001207/1.291, allocations: 49.47 kB / 0.7464 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.291, allocations: 4.062 kB / 0.7464 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/1.291, allocations: 18.72 kB / 0.7464 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/1.291, allocations: 9.484 kB / 0.7464 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/1.292, allocations: 95.03 kB / 0.7465 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.292, allocations: 0.7066 MB / 0.7472 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/1.292, allocations: 0 / 0.7472 GB, free: 22.7 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)