Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.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.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") [: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.6894/0.6894, allocations: 141.8 MB / 149.1 MB, free: 13.19 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 186.2 kB / 181.9 MB, free: 9.883 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.4 MB / 436 MB, free: 2.418 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.0009749/0.000975, allocations: 94.89 kB / 0.507 GB, free: 17.56 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 281.9 kB / 0.5884 GB, free: 3.863 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.093e-06, allocations: 1.438 kB / 0.6759 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 82.78 MB / 0.7567 GB, free: 83.38 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.2773, allocations: 121.8 MB / 0.8757 GB, free: 9.402 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.2776, allocations: 84.61 kB / 0.8757 GB, free: 9.32 MB / 0.5575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 0.3711/0.6487, allocations: 26.77 MB / 0.9019 GB, free: 44.27 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 5.895e-05/0.6488, allocations: 15.62 kB / 0.9019 GB, free: 44.27 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003171/0.652, allocations: 1.044 MB / 0.9029 GB, free: 43.6 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.652, allocations: 11.75 kB / 0.9029 GB, free: 43.6 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.6549, allocations: 0.5053 MB / 0.9034 GB, free: 43.53 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.6559, allocations: 0.489 MB / 0.9039 GB, free: 43.25 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.6562, allocations: 287.2 kB / 0.9042 GB, free: 42.96 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.6564, allocations: 43.56 kB / 0.9042 GB, free: 42.96 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/0.6583, allocations: 0.9312 MB / 0.9051 GB, free: 42.96 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.6604, allocations: 0.8626 MB / 0.906 GB, free: 42.82 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.6604, allocations: 3.938 kB / 0.906 GB, free: 42.81 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6605, allocations: 1.375 kB / 0.906 GB, free: 42.81 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.6606, allocations: 18.72 kB / 0.906 GB, free: 42.81 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006996/0.6676, allocations: 4.133 MB / 0.91 GB, free: 40.2 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.6703, allocations: 1.064 MB / 0.9111 GB, free: 40.15 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/0.6711, allocations: 440.2 kB / 0.9115 GB, free: 40.14 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.6734, allocations: 2.605 MB / 0.914 GB, free: 37.23 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007863/0.6742, allocations: 0.5005 MB / 0.9145 GB, free: 37.16 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=90): time 3.497e-06/0.6742, allocations: 4.969 kB / 0.9145 GB, free: 37.16 MB / 0.5575 GB Notification: Performance of matching and sorting (n=90): time 0.01313/0.6873, allocations: 2.482 MB / 0.917 GB, free: 37 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.6874, allocations: 145.7 kB / 0.9171 GB, free: 36.84 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.6881, allocations: 395.9 kB / 0.9175 GB, free: 36.73 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.6882, allocations: 25.7 kB / 0.9175 GB, free: 36.7 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6883, allocations: 273.5 kB / 0.9178 GB, free: 36.51 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.6886, allocations: 295.1 kB / 0.918 GB, free: 36.31 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.6887, allocations: 0 / 0.918 GB, free: 36.31 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.6888, allocations: 365.6 kB / 0.9184 GB, free: 36 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.6894, allocations: 380.7 kB / 0.9187 GB, free: 36 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.6901, allocations: 456.8 kB / 0.9192 GB, free: 35.96 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.7018, allocations: 2.057 MB / 0.9212 GB, free: 35.87 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7018, allocations: 0 / 0.9212 GB, free: 35.87 MB / 0.5575 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01269/0.7145, allocations: 2.661 MB / 0.9238 GB, free: 35.7 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7146, allocations: 3.969 kB / 0.9238 GB, free: 35.7 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7146, allocations: 0 / 0.9238 GB, free: 35.7 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.7146, allocations: 3.719 kB / 0.9238 GB, free: 35.7 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.7161, allocations: 264.4 kB / 0.9241 GB, free: 35.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.7161, allocations: 3.875 kB / 0.9241 GB, free: 35.68 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.7176, allocations: 186.3 kB / 0.9242 GB, free: 35.63 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7177, allocations: 42.75 kB / 0.9243 GB, free: 35.63 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radWest.outsidePolarCircle,radSouth.outsidePolarCircle,radEast.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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 0.0002384/0.718, allocations: 124.3 kB / 0.9244 GB, free: 35.51 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.7182, allocations: 68.12 kB / 0.9245 GB, free: 35.48 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.7312, allocations: 2.928 MB / 0.9273 GB, free: 35.24 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7312, allocations: 11.38 kB / 0.9273 GB, free: 35.24 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7312, allocations: 0 / 0.9273 GB, free: 35.24 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.7312, allocations: 6.422 kB / 0.9273 GB, free: 35.24 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.7324, allocations: 0.8965 MB / 0.9282 GB, free: 35.04 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7324, allocations: 3.875 kB / 0.9282 GB, free: 35.04 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7338, allocations: 269.1 kB / 0.9285 GB, free: 35.02 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/0.7338, allocations: 10.77 kB / 0.9285 GB, free: 35.02 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/0.7339, allocations: 19.95 kB / 0.9285 GB, free: 35.02 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7339, allocations: 3.875 kB / 0.9285 GB, free: 35.02 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7339, allocations: 4 kB / 0.9285 GB, free: 35.02 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01162/0.7456, allocations: 2.632 MB / 0.9311 GB, free: 34.81 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.746, allocations: 290.8 kB / 0.9314 GB, free: 34.66 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.7462, allocations: 0 / 0.9314 GB, free: 34.66 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.7472, allocations: 94.67 kB / 0.9314 GB, free: 34.66 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.7474, allocations: 72.3 kB / 0.9315 GB, free: 34.65 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.7475, allocations: 40.36 kB / 0.9316 GB, free: 34.65 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.000357/0.7479, allocations: 303.4 kB / 0.9318 GB, free: 34.57 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.00101/0.7489, allocations: 324.1 kB / 0.9321 GB, free: 34.5 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001099/0.75, allocations: 471.2 kB / 0.9326 GB, free: 34.27 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.7515, allocations: 0.9711 MB / 0.9335 GB, free: 34.24 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7515, allocations: 0 / 0.9335 GB, free: 34.24 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.7522, allocations: 0.5484 MB / 0.9341 GB, free: 34.22 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.7527, allocations: 52.75 kB / 0.9341 GB, free: 34.21 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.7552, allocations: 1.162 MB / 0.9353 GB, free: 33.93 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009404/0.7561, allocations: 1.11 MB / 0.9364 GB, free: 33.21 MB / 0.5575 GB Notification: Performance of SimCode: time 3.71e-07/0.7561, allocations: 0 / 0.9364 GB, free: 33.21 MB / 0.5575 GB Notification: Performance of Templates: time 0.02075/0.7769, allocations: 14.04 MB / 0.9501 GB, free: 28.81 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)