Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7425/0.7425, allocations: 141.8 MB / 149.1 MB, free: 4.348 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 181.4 kB / 181.9 MB, free: 16 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.3 MB / 436 MB, free: 9.172 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 100 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 274.3 kB / 0.5884 GB, free: 12.18 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.066e-05, allocations: 3.938 kB / 0.6759 GB, free: 2.547 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4165, allocations: 82.78 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.5375, allocations: 108.2 MB / 0.8624 GB, free: 4.48 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5378, allocations: 90.56 kB / 0.8624 GB, free: 4.398 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.001671/0.5395, allocations: 453.1 kB / 0.8629 GB, free: 3.965 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5395, allocations: 0 / 0.8629 GB, free: 3.965 MB / 0.5263 GB 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.000174/0.5397, allocations: 306.5 kB / 0.8632 GB, free: 3.621 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5397, allocations: 17.11 kB / 0.8632 GB, free: 3.605 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.5398, allocations: 0 / 0.8632 GB, free: 3.605 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.5399, allocations: 174.8 kB / 0.8633 GB, free: 3.395 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5399, allocations: 4.75 kB / 0.8634 GB, free: 3.391 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.5399, allocations: 0 / 0.8634 GB, free: 3.391 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.228e-05/0.54, allocations: 8.812 kB / 0.8634 GB, free: 3.383 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.722e-05/0.54, allocations: 29.7 kB / 0.8634 GB, free: 3.348 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.54, allocations: 0.5 kB / 0.8634 GB, free: 3.348 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.54, allocations: 0.5625 kB / 0.8634 GB, free: 3.348 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.54, allocations: 0.9062 kB / 0.8634 GB, free: 3.348 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.5403, allocations: 222.4 kB / 0.8636 GB, free: 3.094 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/0.5403, allocations: 27.95 kB / 0.8636 GB, free: 3.059 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.5404, allocations: 8.922 kB / 0.8636 GB, free: 3.047 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.5404, allocations: 0.5 kB / 0.8636 GB, free: 3.047 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.5404, allocations: 39.09 kB / 0.8637 GB, free: 3 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5404, allocations: 0.6562 kB / 0.8637 GB, free: 3 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001168/0.5405, allocations: 38.27 kB / 0.8637 GB, free: 2.957 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.5405, allocations: 52.59 kB / 0.8638 GB, free: 2.895 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.5406, allocations: 93 kB / 0.8639 GB, free: 2.797 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.5406, allocations: 25.7 kB / 0.8639 GB, free: 2.766 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.5407, allocations: 84.7 kB / 0.864 GB, free: 2.68 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.5407, allocations: 4.406 kB / 0.864 GB, free: 2.676 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5407, allocations: 0.5 kB / 0.864 GB, free: 2.676 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.5407, allocations: 319.3 kB / 0.8643 GB, free: 2.355 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.5407, allocations: 8.656 kB / 0.8643 GB, free: 2.348 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.5408, allocations: 1.062 kB / 0.8643 GB, free: 2.348 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.269e-05/0.5408, allocations: 4.75 kB / 0.8643 GB, free: 2.344 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5408, allocations: 0.5312 kB / 0.8643 GB, free: 2.344 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.595e-05/0.5408, allocations: 38.42 kB / 0.8643 GB, free: 2.301 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.5408, allocations: 4 kB / 0.8643 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.5409, allocations: 0.5312 kB / 0.8643 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5409, allocations: 8.875 kB / 0.8643 GB, free: 2.289 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.5409, allocations: 4 kB / 0.8643 GB, free: 2.285 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5409, allocations: 0 / 0.8643 GB, free: 2.285 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.541, allocations: 2.312 kB / 0.8643 GB, free: 2.285 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.541, allocations: 3.984 kB / 0.8643 GB, free: 2.281 MB / 0.5263 GB 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 4.48e-05/0.541, allocations: 101.7 kB / 0.8644 GB, free: 2.176 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.5411, allocations: 7.906 kB / 0.8644 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.5411, allocations: 3.844 kB / 0.8644 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5411, allocations: 0.5 kB / 0.8644 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5411, allocations: 0.8438 kB / 0.8644 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5411, allocations: 0 / 0.8644 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.622e-05/0.5412, allocations: 138.9 kB / 0.8646 GB, free: 1.996 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.5412, allocations: 0 / 0.8646 GB, free: 1.996 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.5412, allocations: 4.781 kB / 0.8646 GB, free: 1.992 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5412, allocations: 0 / 0.8646 GB, free: 1.992 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.5413, allocations: 0 / 0.8646 GB, free: 1.992 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5413, allocations: 11.72 kB / 0.8646 GB, free: 1.984 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5413, allocations: 0.8125 kB / 0.8646 GB, free: 1.984 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.266e-05/0.5413, allocations: 133.4 kB / 0.8647 GB, free: 1.84 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.5414, allocations: 85.02 kB / 0.8648 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5414, allocations: 0 / 0.8648 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.5414, allocations: 1.844 kB / 0.8648 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.5415, allocations: 192 / 0.8648 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.5415, allocations: 0 / 0.8648 GB, free: 1.738 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.954e-05/0.5415, allocations: 87.25 kB / 0.8649 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002245/0.5417, allocations: 5.312 kB / 0.8649 GB, free: 1.648 MB / 0.5263 GB 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.416e-05/0.5418, allocations: 95.25 kB / 0.865 GB, free: 1.543 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.5419, allocations: 20.09 kB / 0.865 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5419, allocations: 0 / 0.865 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.5419, allocations: 4 kB / 0.865 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.542, allocations: 0 / 0.865 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.5422, allocations: 59.86 kB / 0.8651 GB, free: 1.438 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5424, allocations: 0.688 MB / 0.8657 GB, free: 0.7227 MB / 0.5263 GB Notification: Performance of SimCode: time 2.4e-07/0.5424, allocations: 3.938 kB / 0.8657 GB, free: 0.7188 MB / 0.5263 GB Notification: Performance of Templates: time 0.00171/0.5441, allocations: 226.2 kB / 0.866 GB, free: 0.5312 MB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)