Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",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.7125/0.7125, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001145/0.001145, allocations: 181.3 kB / 164.4 MB, free: 6.887 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.488/1.488, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001084/0.001084, allocations: 91.25 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3251/0.3263, allocations: 82.88 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.5118, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5319/1.044, allocations: 101 MB / 0.7197 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.044, allocations: 67.95 kB / 0.7197 GB, free: 11.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000719/1.045, allocations: 366.6 kB / 0.7201 GB, free: 10.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.045, allocations: 8 kB / 0.7201 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/1.045, allocations: 0 / 0.7201 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.045, allocations: 167 kB / 0.7203 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.045, allocations: 4 kB / 0.7203 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/1.045, allocations: 0 / 0.7203 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.572e-05/1.045, allocations: 3.938 kB / 0.7203 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.531e-05/1.045, allocations: 25.7 kB / 0.7203 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.045, allocations: 3.906 kB / 0.7203 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.045, allocations: 7.984 kB / 0.7203 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.045, allocations: 0 / 0.7203 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/1.045, allocations: 126.2 kB / 0.7204 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/1.046, allocations: 18.58 kB / 0.7204 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/1.046, allocations: 12.89 kB / 0.7204 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.046, allocations: 3.984 kB / 0.7205 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.046, allocations: 30.56 kB / 0.7205 GB, free: 10.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.046, allocations: 0 / 0.7205 GB, free: 10.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001558/1.046, allocations: 29.7 kB / 0.7205 GB, free: 10.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.046, allocations: 55.44 kB / 0.7206 GB, free: 10.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/1.046, allocations: 89.55 kB / 0.7206 GB, free: 10.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.046, allocations: 29.69 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/1.046, allocations: 80.14 kB / 0.7208 GB, free: 9.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/1.046, allocations: 7.906 kB / 0.7208 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.046, allocations: 0 / 0.7208 GB, free: 9.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.046, allocations: 313 kB / 0.7211 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/1.046, allocations: 0 / 0.7211 GB, free: 9.641 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/1.046, allocations: 0 / 0.7211 GB, free: 9.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/1.046, allocations: 8.062 kB / 0.7211 GB, free: 9.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.046, allocations: 3.938 kB / 0.7211 GB, free: 9.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.659e-05/1.046, allocations: 29.7 kB / 0.7211 GB, free: 9.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.046, allocations: 4 kB / 0.7211 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.046, allocations: 0 / 0.7211 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.046, allocations: 3.906 kB / 0.7211 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/1.046, allocations: 4 kB / 0.7211 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.046, allocations: 3.984 kB / 0.7211 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/1.046, allocations: 3.703 kB / 0.7211 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.046, allocations: 0 / 0.7211 GB, free: 9.578 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.796e-05/1.047, allocations: 105 kB / 0.7212 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/1.047, allocations: 4 kB / 0.7212 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/1.047, allocations: 3 kB / 0.7212 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.047, allocations: 7.906 kB / 0.7212 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.047, allocations: 0 / 0.7212 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.047, allocations: 0 / 0.7212 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/1.047, allocations: 122.2 kB / 0.7213 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/1.047, allocations: 3.938 kB / 0.7214 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/1.047, allocations: 7.984 kB / 0.7214 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/1.047, allocations: 4 kB / 0.7214 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/1.047, allocations: 1.625 kB / 0.7214 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/1.047, allocations: 3.938 kB / 0.7214 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.047, allocations: 0 / 0.7214 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.231e-05/1.047, allocations: 56.98 kB / 0.7214 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002161/1.047, allocations: 441.6 kB / 0.7218 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/1.047, allocations: 81.02 kB / 0.7219 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/1.047, allocations: 0 / 0.7219 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/1.047, allocations: 0 / 0.7219 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/1.047, allocations: 0 / 0.7219 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/1.047, allocations: 4 kB / 0.7219 GB, free: 8.652 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.237e-05/1.047, allocations: 75.28 kB / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008308/1.048, allocations: 0 / 0.722 GB, free: 8.578 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.000121/1.048, allocations: 103.2 kB / 0.7221 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.102e-05/1.048, allocations: 8 kB / 0.7221 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.048, allocations: 0 / 0.7221 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/1.048, allocations: 4 kB / 0.7221 GB, free: 8.457 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/1.049, allocations: 3.906 kB / 0.7221 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/1.049, allocations: 42.64 kB / 0.7222 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.049, allocations: 0.6802 MB / 0.7228 GB, free: 7.684 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/1.049, allocations: 8.125 kB / 0.7228 GB, free: 7.676 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)