Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [: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.7044/0.7044, allocations: 141.8 MB / 149.1 MB, free: 1.973 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 189.2 kB / 181.9 MB, free: 14 MB / 158.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 436 MB, free: 6.879 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 94.95 kB / 0.507 GB, free: 24.64 MB / 398.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 269.7 kB / 0.5884 GB, free: 10.21 MB / 446.2 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.207e-05, allocations: 7.938 kB / 0.6759 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.474, allocations: 82.77 MB / 0.7567 GB, free: 110.8 MB / 0.5295 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.5927, allocations: 108.9 MB / 0.8631 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.593, allocations: 88.64 kB / 0.8631 GB, free: 1.699 MB / 0.5295 GB Notification: Performance of FrontEnd: time 0.002866/0.5959, allocations: 0.8383 MB / 0.864 GB, free: 0.875 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5959, allocations: 1.406 kB / 0.864 GB, free: 0.875 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002387/0.5962, allocations: 339 kB / 0.8643 GB, free: 0.5 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5962, allocations: 8.781 kB / 0.8643 GB, free: 0.4922 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.5963, allocations: 7.906 kB / 0.8643 GB, free: 496 kB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5964, allocations: 167.6 kB / 0.8645 GB, free: 288 kB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5964, allocations: 4.531 kB / 0.8645 GB, free: 284 kB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5964, allocations: 3.906 kB / 0.8645 GB, free: 280 kB / 0.5295 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.257e-05/0.5965, allocations: 20.8 kB / 0.8645 GB, free: 260 kB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.5966, allocations: 50.62 kB / 0.8645 GB, free: 204 kB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5966, allocations: 0.7812 kB / 0.8645 GB, free: 204 kB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5966, allocations: 0 / 0.8645 GB, free: 204 kB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5966, allocations: 5 kB / 0.8645 GB, free: 200 kB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.597, allocations: 259 kB / 0.8648 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.5972, allocations: 56.22 kB / 0.8648 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.5972, allocations: 16.98 kB / 0.8649 GB, free: 15.82 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5973, allocations: 4.688 kB / 0.8649 GB, free: 15.82 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.5973, allocations: 39.12 kB / 0.8649 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5973, allocations: 0.8438 kB / 0.8649 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.0001889/0.5975, allocations: 54.77 kB / 0.865 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.5975, allocations: 51.94 kB / 0.865 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.5976, allocations: 97.48 kB / 0.8651 GB, free: 15.55 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5976, allocations: 27.05 kB / 0.8651 GB, free: 15.52 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.5977, allocations: 87.98 kB / 0.8652 GB, free: 15.43 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.5977, allocations: 15.81 kB / 0.8652 GB, free: 15.41 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.5977, allocations: 1.031 kB / 0.8652 GB, free: 15.41 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5978, allocations: 314.8 kB / 0.8655 GB, free: 15.09 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.5979, allocations: 9.469 kB / 0.8655 GB, free: 15.09 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.5979, allocations: 12 kB / 0.8655 GB, free: 15.07 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.5979, allocations: 8 kB / 0.8656 GB, free: 15.07 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.598, allocations: 1.281 kB / 0.8656 GB, free: 15.07 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.658e-05/0.598, allocations: 58.84 kB / 0.8656 GB, free: 15 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.5981, allocations: 8 kB / 0.8656 GB, free: 15 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.5981, allocations: 4.891 kB / 0.8656 GB, free: 14.99 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5981, allocations: 3.938 kB / 0.8656 GB, free: 14.99 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.5982, allocations: 8.188 kB / 0.8656 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5982, allocations: 0.5 kB / 0.8656 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.5982, allocations: 0.8125 kB / 0.8656 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5982, allocations: 5.031 kB / 0.8656 GB, free: 14.98 MB / 0.5452 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 (5): * Single equations (assignments): 5 * 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.307e-05/0.5983, allocations: 101 kB / 0.8657 GB, free: 14.87 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.5983, allocations: 12.86 kB / 0.8657 GB, free: 14.86 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.5985, allocations: 87.5 kB / 0.8658 GB, free: 14.77 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5985, allocations: 0.5938 kB / 0.8658 GB, free: 14.77 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5985, allocations: 0 / 0.8658 GB, free: 14.77 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.5985, allocations: 0.6562 kB / 0.8658 GB, free: 14.77 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.5987, allocations: 156.4 kB / 0.866 GB, free: 14.59 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5987, allocations: 0 / 0.866 GB, free: 14.59 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.5988, allocations: 8 kB / 0.866 GB, free: 14.58 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5988, allocations: 4.688 kB / 0.866 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5988, allocations: 0 / 0.866 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5988, allocations: 0.7188 kB / 0.866 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5988, allocations: 0 / 0.866 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001465/0.599, allocations: 168.8 kB / 0.8662 GB, free: 14.39 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.599, allocations: 89.5 kB / 0.8662 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.599, allocations: 0 / 0.8662 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.5991, allocations: 0.7812 kB / 0.8662 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.5991, allocations: 7.938 kB / 0.8663 GB, free: 14.28 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.5991, allocations: 0.7188 kB / 0.8663 GB, free: 14.28 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.717e-05/0.5992, allocations: 88.45 kB / 0.8663 GB, free: 14.2 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0002046/0.5994, allocations: 8 kB / 0.8663 GB, free: 14.19 MB / 0.5452 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 (8): * Single equations (assignments): 8 * 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.0001069/0.5995, allocations: 96.31 kB / 0.8664 GB, free: 14.08 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.5996, allocations: 28.75 kB / 0.8665 GB, free: 14.05 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5996, allocations: 0.7188 kB / 0.8665 GB, free: 14.05 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.5997, allocations: 23.94 kB / 0.8665 GB, free: 14.03 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.5998, allocations: 12.44 kB / 0.8665 GB, free: 14.02 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.6001, allocations: 81.61 kB / 0.8666 GB, free: 13.92 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.6004, allocations: 0.7035 MB / 0.8673 GB, free: 13.19 MB / 0.5452 GB Notification: Performance of SimCode: time 2.21e-07/0.6004, allocations: 0 / 0.8673 GB, free: 13.19 MB / 0.5452 GB Notification: Performance of Templates: time 0.002138/0.6025, allocations: 467 kB / 0.8677 GB, free: 12.78 MB / 0.5452 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)