Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7406/0.7406, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001084/0.001084, allocations: 177.3 kB / 164.4 MB, free: 6.906 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.001048/0.001048, allocations: 83.02 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3519/0.353, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.5554, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/1.088, allocations: 102.5 MB / 0.7211 GB, free: 9.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/1.088, allocations: 83.89 kB / 0.7211 GB, free: 9.758 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.00332/1.091, allocations: 1.124 MB / 0.7222 GB, free: 8.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.091, allocations: 8 kB / 0.7223 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/1.091, allocations: 11.91 kB / 0.7223 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.092, allocations: 170.9 kB / 0.7224 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.092, allocations: 0 / 0.7224 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.092, allocations: 4 kB / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.262e-05/1.092, allocations: 27.92 kB / 0.7225 GB, free: 8.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/1.092, allocations: 49.69 kB / 0.7225 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/1.092, allocations: 0.75 kB / 0.7225 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.092, allocations: 0 / 0.7225 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.092, allocations: 0 / 0.7225 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/1.092, allocations: 281.9 kB / 0.7228 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.093, allocations: 47.3 kB / 0.7228 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/1.093, allocations: 25.02 kB / 0.7228 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/1.093, allocations: 0 / 0.7228 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.872e-05/1.093, allocations: 71.23 kB / 0.7229 GB, free: 7.809 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/1.093, allocations: 0 / 0.7229 GB, free: 7.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001871/1.093, allocations: 65.72 kB / 0.723 GB, free: 7.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.093, allocations: 57.48 kB / 0.723 GB, free: 7.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/1.093, allocations: 100.9 kB / 0.7231 GB, free: 7.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.093, allocations: 29.7 kB / 0.7232 GB, free: 7.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/1.093, allocations: 88.14 kB / 0.7232 GB, free: 7.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.093, allocations: 15.72 kB / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.093, allocations: 0 / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/1.093, allocations: 318.8 kB / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/1.093, allocations: 16 kB / 0.7236 GB, free: 7.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/1.093, allocations: 43.38 kB / 0.7236 GB, free: 7.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/1.093, allocations: 21.61 kB / 0.7236 GB, free: 7.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.093, allocations: 0 / 0.7236 GB, free: 7.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001398/1.094, allocations: 89.73 kB / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.094, allocations: 4 kB / 0.7237 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.094, allocations: 4 kB / 0.7237 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.094, allocations: 3.938 kB / 0.7237 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/1.094, allocations: 8 kB / 0.7237 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.094, allocations: 7.938 kB / 0.7237 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/1.094, allocations: 15.92 kB / 0.7238 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.094, allocations: 8 kB / 0.7238 GB, free: 6.871 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 8.862e-05/1.094, allocations: 113.1 kB / 0.7239 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/1.094, allocations: 3.906 kB / 0.7239 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/1.094, allocations: 12.12 kB / 0.7239 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.094, allocations: 4 kB / 0.7239 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.094, allocations: 0 / 0.7239 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.094, allocations: 0 / 0.7239 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/1.094, allocations: 331 kB / 0.7242 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.094, allocations: 0 / 0.7242 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/1.094, allocations: 4 kB / 0.7242 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.094, allocations: 0 / 0.7242 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.095, allocations: 0 / 0.7242 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.095, allocations: 8 kB / 0.7242 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.095, allocations: 7.922 kB / 0.7242 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/1.095, allocations: 163.5 kB / 0.7244 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002589/1.095, allocations: 0.5349 MB / 0.7249 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/1.095, allocations: 81.02 kB / 0.725 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.095, allocations: 4 kB / 0.725 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/1.095, allocations: 11.98 kB / 0.725 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/1.095, allocations: 7.984 kB / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/1.095, allocations: 0 / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.935e-05/1.095, allocations: 87.19 kB / 0.7251 GB, free: 5.418 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008833/1.096, allocations: 12 kB / 0.7251 GB, free: 5.406 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.0001447/1.096, allocations: 103.2 kB / 0.7252 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/1.096, allocations: 47.92 kB / 0.7252 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.096, allocations: 4 kB / 0.7253 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/1.097, allocations: 20 kB / 0.7253 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/1.097, allocations: 8.469 kB / 0.7253 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/1.097, allocations: 115.7 kB / 0.7254 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.098, allocations: 0.707 MB / 0.7261 GB, free: 4.348 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/1.098, allocations: 0 / 0.7261 GB, free: 4.348 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)