Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.217/1.217, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 188.4 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 82.86 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3581/0.359, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.5231, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.9757, allocations: 132.7 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/0.9759, allocations: 68.89 kB / 1.014 GB, free: 5.805 MB / 0.6355 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.003828/0.9798, allocations: 1.409 MB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.9798, allocations: 8 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.9799, allocations: 11.91 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.98, allocations: 163.1 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.98, allocations: 4 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.98, allocations: 11.84 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.65e-05/0.9801, allocations: 20.88 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.9802, allocations: 45.91 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9802, allocations: 0 / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.9802, allocations: 7.609 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9802, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.9806, allocations: 269.7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.9807, allocations: 48.88 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.9808, allocations: 28.02 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.9808, allocations: 2.734 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/0.9809, allocations: 74.41 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.9809, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001566/0.9811, allocations: 60.75 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.9811, allocations: 55.39 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.9812, allocations: 100.4 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.9812, allocations: 33.14 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.9812, allocations: 88.06 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.9813, allocations: 27.2 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.9813, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.9814, allocations: 318.4 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.9814, allocations: 11.56 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.9815, allocations: 42.48 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.9815, allocations: 19 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9815, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001176/0.9816, allocations: 88.27 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.9817, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.9817, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.9817, allocations: 4.281 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.9817, allocations: 15.92 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.9818, allocations: 4 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.9818, allocations: 19.94 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.9818, allocations: 0 / 1.017 GB, free: 2.906 MB / 0.6355 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 6.984e-05/0.9819, allocations: 115.2 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.9819, allocations: 7.906 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.982, allocations: 11.3 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.982, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.982, allocations: 4 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.982, allocations: 4 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.9823, allocations: 315.4 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.9823, allocations: 0 / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.9824, allocations: 11.92 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9824, allocations: 4 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.9824, allocations: 4 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9824, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9824, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/0.9825, allocations: 165.5 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002143/0.9827, allocations: 0.5333 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.9828, allocations: 89.02 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.9828, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.9829, allocations: 7.984 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.983, allocations: 11.92 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.983, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.139e-05/0.983, allocations: 82.97 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007504/0.9838, allocations: 11.91 kB / 1.019 GB, free: 1.488 MB / 0.6355 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.000103/0.9839, allocations: 107.2 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.984, allocations: 42.38 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.984, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.984, allocations: 30.67 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.9842, allocations: 12.39 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.9844, allocations: 89.52 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.9847, allocations: 0.7037 MB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/0.9847, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)