Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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.001251/0.001251, allocations: 190.2 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4777/0.4777, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 342.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 106.2 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 0 / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3352, allocations: 72.3 MB / 0.5529 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.4453, allocations: 101 MB / 0.6516 GB, free: 8.953 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4456, allocations: 83.94 kB / 0.6517 GB, free: 8.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001712/0.4473, allocations: 450.7 kB / 0.6521 GB, free: 8.449 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4473, allocations: 1.812 kB / 0.6521 GB, free: 8.449 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002622/0.4476, allocations: 309.3 kB / 0.6524 GB, free: 8.105 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4476, allocations: 12.02 kB / 0.6524 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.4477, allocations: 9.094 kB / 0.6524 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4478, allocations: 167 kB / 0.6526 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.4479, allocations: 0 / 0.6526 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.4479, allocations: 0 / 0.6526 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.49e-05/0.4479, allocations: 9.125 kB / 0.6526 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.068e-05/0.448, allocations: 33.64 kB / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.448, allocations: 0.6875 kB / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.448, allocations: 3.828 kB / 0.6526 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.448, allocations: 9.328 kB / 0.6526 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.4483, allocations: 218.2 kB / 0.6528 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.4483, allocations: 19.55 kB / 0.6528 GB, free: 7.551 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.4484, allocations: 18.73 kB / 0.6529 GB, free: 7.531 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.4484, allocations: 0.7812 kB / 0.6529 GB, free: 7.531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.4484, allocations: 31.34 kB / 0.6529 GB, free: 7.492 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4484, allocations: 4.906 kB / 0.6529 GB, free: 7.488 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001267/0.4486, allocations: 37.73 kB / 0.6529 GB, free: 7.445 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.4486, allocations: 52.31 kB / 0.653 GB, free: 7.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.4487, allocations: 96.98 kB / 0.6531 GB, free: 7.281 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4487, allocations: 26.2 kB / 0.6531 GB, free: 7.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.4487, allocations: 81.11 kB / 0.6532 GB, free: 7.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.4487, allocations: 3.906 kB / 0.6532 GB, free: 7.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-06/0.4488, allocations: 4.812 kB / 0.6532 GB, free: 7.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.4489, allocations: 321.4 kB / 0.6535 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.4489, allocations: 0 / 0.6535 GB, free: 6.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.4489, allocations: 5.062 kB / 0.6535 GB, free: 6.836 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.294e-05/0.4489, allocations: 3.906 kB / 0.6535 GB, free: 6.832 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4489, allocations: 0.9375 kB / 0.6535 GB, free: 6.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.46e-05/0.449, allocations: 41.64 kB / 0.6535 GB, free: 6.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.449, allocations: 4.625 kB / 0.6535 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.449, allocations: 4 kB / 0.6535 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.449, allocations: 0.5938 kB / 0.6535 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.4491, allocations: 1.438 kB / 0.6535 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.4491, allocations: 0 / 0.6535 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.4491, allocations: 7.984 kB / 0.6536 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.4491, allocations: 0 / 0.6536 GB, free: 6.77 MB / 474.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 (2): * Single equations (assignments): 2 * 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.087e-05/0.4492, allocations: 106.2 kB / 0.6537 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.4492, allocations: 0 / 0.6537 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.4492, allocations: 4.344 kB / 0.6537 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4492, allocations: 4 kB / 0.6537 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4492, allocations: 0 / 0.6537 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4492, allocations: 0.5625 kB / 0.6537 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4494, allocations: 141 kB / 0.6538 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4494, allocations: 6.125 kB / 0.6538 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.4494, allocations: 0.5 kB / 0.6538 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4494, allocations: 5.656 kB / 0.6538 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.4494, allocations: 0 / 0.6538 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4494, allocations: 0.7812 kB / 0.6538 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4494, allocations: 0 / 0.6538 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.234e-05/0.4495, allocations: 140.7 kB / 0.6539 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.4496, allocations: 77.73 kB / 0.654 GB, free: 6.227 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4496, allocations: 0 / 0.654 GB, free: 6.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.4496, allocations: 5.031 kB / 0.654 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.4497, allocations: 0 / 0.654 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.4497, allocations: 0.9375 kB / 0.654 GB, free: 6.223 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.299e-05/0.4497, allocations: 91.17 kB / 0.6541 GB, free: 6.133 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.4499, allocations: 0.5625 kB / 0.6541 GB, free: 6.133 MB / 474.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 (2): * Single equations (assignments): 2 * 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 9.252e-05/0.45, allocations: 100.2 kB / 0.6542 GB, free: 6.023 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.726e-05/0.4501, allocations: 5.094 kB / 0.6542 GB, free: 6.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4501, allocations: 0 / 0.6542 GB, free: 6.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.367e-06/0.4501, allocations: 7.938 kB / 0.6542 GB, free: 6.012 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.4502, allocations: 5.5 kB / 0.6542 GB, free: 6.008 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.4504, allocations: 55.86 kB / 0.6543 GB, free: 5.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.4506, allocations: 0.6911 MB / 0.655 GB, free: 5.215 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4506, allocations: 1 kB / 0.655 GB, free: 5.215 MB / 474.7 MB Notification: Performance of Templates: time 0.001653/0.4523, allocations: 224.5 kB / 0.6552 GB, free: 5.039 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)