Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7346/0.7346, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 189.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.1 MB / 399.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 94.92 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3415/0.3427, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.5823, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6927/1.275, allocations: 102.6 MB / 0.7212 GB, free: 9.738 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.275, allocations: 71.97 kB / 0.7212 GB, free: 9.668 MB / 490.7 MB 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.005779/1.281, allocations: 1.407 MB / 0.7226 GB, free: 8.227 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.281, allocations: 8 kB / 0.7226 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/1.281, allocations: 7.906 kB / 0.7226 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/1.282, allocations: 163 kB / 0.7228 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/1.282, allocations: 8 kB / 0.7228 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/1.282, allocations: 4 kB / 0.7228 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/1.282, allocations: 23.98 kB / 0.7228 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/1.282, allocations: 49.62 kB / 0.7229 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.282, allocations: 0 / 0.7229 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.282, allocations: 0 / 0.7229 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.282, allocations: 4 kB / 0.7229 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/1.283, allocations: 273.3 kB / 0.7231 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.283, allocations: 54.42 kB / 0.7232 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/1.283, allocations: 25.08 kB / 0.7232 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/1.283, allocations: 0 / 0.7232 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.283, allocations: 76.33 kB / 0.7233 GB, free: 7.441 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/1.283, allocations: 0 / 0.7233 GB, free: 7.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002276/1.283, allocations: 65.62 kB / 0.7233 GB, free: 7.371 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.283, allocations: 55.41 kB / 0.7234 GB, free: 7.305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.283, allocations: 100.9 kB / 0.7235 GB, free: 7.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/1.283, allocations: 29.69 kB / 0.7235 GB, free: 7.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/1.284, allocations: 84.14 kB / 0.7236 GB, free: 7.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/1.284, allocations: 23.66 kB / 0.7236 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.284, allocations: 0 / 0.7236 GB, free: 7.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/1.284, allocations: 322.8 kB / 0.7239 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/1.284, allocations: 12 kB / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/1.284, allocations: 41.41 kB / 0.724 GB, free: 6.668 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/1.284, allocations: 23.36 kB / 0.724 GB, free: 6.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.284, allocations: 4 kB / 0.724 GB, free: 6.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001882/1.284, allocations: 89.52 kB / 0.7241 GB, free: 6.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.284, allocations: 4 kB / 0.7241 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.284, allocations: 0 / 0.7241 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.284, allocations: 4 kB / 0.7241 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/1.284, allocations: 10.94 kB / 0.7241 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.284, allocations: 0 / 0.7241 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.284, allocations: 15.89 kB / 0.7241 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/1.285, allocations: 8.031 kB / 0.7241 GB, free: 6.512 MB / 490.7 MB 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 0.0001097/1.285, allocations: 110.3 kB / 0.7242 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/1.285, allocations: 7.906 kB / 0.7243 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/1.285, allocations: 8.062 kB / 0.7243 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.285, allocations: 0 / 0.7243 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.285, allocations: 4 kB / 0.7243 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.285, allocations: 0.6562 kB / 0.7243 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/1.285, allocations: 323 kB / 0.7246 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.285, allocations: 4 kB / 0.7246 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/1.285, allocations: 0 / 0.7246 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.285, allocations: 4.281 kB / 0.7246 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.285, allocations: 0 / 0.7246 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.285, allocations: 2.078 kB / 0.7246 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.285, allocations: 7.906 kB / 0.7246 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002301/1.286, allocations: 171.5 kB / 0.7248 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003739/1.286, allocations: 0.5388 MB / 0.7253 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/1.286, allocations: 85.09 kB / 0.7254 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.286, allocations: 0 / 0.7254 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.286, allocations: 8 kB / 0.7254 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/1.286, allocations: 7.984 kB / 0.7254 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/1.286, allocations: 15.95 kB / 0.7254 GB, free: 5.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.95e-05/1.286, allocations: 83.28 kB / 0.7255 GB, free: 5.047 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001365/1.288, allocations: 8 kB / 0.7255 GB, free: 5.039 MB / 490.7 MB 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.0001561/1.288, allocations: 99.19 kB / 0.7256 GB, free: 4.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/1.288, allocations: 51.94 kB / 0.7256 GB, free: 4.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.288, allocations: 0 / 0.7256 GB, free: 4.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/1.288, allocations: 27.98 kB / 0.7257 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.289, allocations: 7.188 kB / 0.7257 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/1.289, allocations: 87.7 kB / 0.7257 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.289, allocations: 0.7036 MB / 0.7264 GB, free: 4.012 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/1.289, allocations: 4.062 kB / 0.7264 GB, free: 4.008 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)