Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.8111/0.8111, allocations: 141.8 MB / 149.1 MB, free: 11.93 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.001123/0.001124, allocations: 178.3 kB / 181.9 MB, free: 8.68 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.232/1.232, allocations: 221.3 MB / 436 MB, free: 0.9844 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.00113/0.00113, allocations: 89.33 kB / 0.507 GB, free: 9.891 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 283.2 kB / 0.5884 GB, free: 6.715 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.953e-06, allocations: 0 / 0.6759 GB, free: 13.07 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.5467, allocations: 82.77 MB / 0.7567 GB, free: 64.91 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.857/4.403, allocations: 1.691 GB / 2.447 GB, free: 172.7 MB / 0.8075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/4.404, allocations: 99.53 kB / 2.447 GB, free: 172.6 MB / 0.8075 GB Notification: Performance of FrontEnd: time 0.1313/4.535, allocations: 59.25 MB / 2.505 GB, free: 113.5 MB / 0.8075 GB Notification: Performance of Transformations before backend: time 0.0001172/4.535, allocations: 19.94 kB / 2.505 GB, free: 113.5 MB / 0.8075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002878/4.538, allocations: 1.094 MB / 2.506 GB, free: 112.4 MB / 0.8075 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/4.538, allocations: 12.03 kB / 2.506 GB, free: 112.4 MB / 0.8075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/4.539, allocations: 188.2 kB / 2.506 GB, free: 112.2 MB / 0.8075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/4.541, allocations: 0.623 MB / 2.507 GB, free: 111.5 MB / 0.8075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/4.541, allocations: 24 kB / 2.507 GB, free: 111.5 MB / 0.8075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/4.541, allocations: 45.78 kB / 2.507 GB, free: 111.5 MB / 0.8075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001618/4.543, allocations: 0.9718 MB / 2.508 GB, free: 110.5 MB / 0.8075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/4.544, allocations: 0.7038 MB / 2.509 GB, free: 109.7 MB / 0.8075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/4.544, allocations: 0 / 2.509 GB, free: 109.7 MB / 0.8075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/4.544, allocations: 8 kB / 2.509 GB, free: 109.7 MB / 0.8075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/4.544, allocations: 16 kB / 2.509 GB, free: 109.7 MB / 0.8075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/4.548, allocations: 2.248 MB / 2.511 GB, free: 107.4 MB / 0.8075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/4.549, allocations: 0.6349 MB / 2.512 GB, free: 106.8 MB / 0.8075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/4.549, allocations: 238.7 kB / 2.512 GB, free: 106.5 MB / 0.8075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.722e-05/4.549, allocations: 24.62 kB / 2.512 GB, free: 106.5 MB / 0.8075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/4.55, allocations: 366.1 kB / 2.512 GB, free: 106.1 MB / 0.8075 GB Notification: Performance of pre-optimization done (n=71): time 2.705e-06/4.55, allocations: 0 / 2.512 GB, free: 106.1 MB / 0.8075 GB Notification: Performance of matching and sorting (n=71): time 0.001553/4.552, allocations: 0.6325 MB / 2.513 GB, free: 105.5 MB / 0.8075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/4.552, allocations: 243.6 kB / 2.513 GB, free: 105.2 MB / 0.8075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/4.552, allocations: 0.4983 MB / 2.514 GB, free: 104.7 MB / 0.8075 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/4.552, allocations: 37.7 kB / 2.514 GB, free: 104.7 MB / 0.8075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/4.553, allocations: 292.2 kB / 2.514 GB, free: 104.4 MB / 0.8075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/4.553, allocations: 224.6 kB / 2.514 GB, free: 104.1 MB / 0.8075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/4.553, allocations: 0 / 2.514 GB, free: 104.1 MB / 0.8075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/4.553, allocations: 374.8 kB / 2.514 GB, free: 103.8 MB / 0.8075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/4.553, allocations: 181.3 kB / 2.515 GB, free: 103.6 MB / 0.8075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/4.554, allocations: 286.4 kB / 2.515 GB, free: 103.3 MB / 0.8075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/4.554, allocations: 235 kB / 2.515 GB, free: 103.1 MB / 0.8075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/4.554, allocations: 0 / 2.515 GB, free: 103.1 MB / 0.8075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001377/4.555, allocations: 0.6404 MB / 2.516 GB, free: 102.4 MB / 0.8075 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/4.555, allocations: 6.031 kB / 2.516 GB, free: 102.4 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/4.555, allocations: 4 kB / 2.516 GB, free: 102.4 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/4.556, allocations: 76.84 kB / 2.516 GB, free: 102.3 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/4.557, allocations: 147.8 kB / 2.516 GB, free: 102.2 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/4.558, allocations: 1.452 MB / 2.517 GB, free: 100.6 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/4.559, allocations: 67.52 kB / 2.517 GB, free: 100.5 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/4.559, allocations: 31.97 kB / 2.517 GB, free: 100.5 MB / 0.8075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001741/4.559, allocations: 116.9 kB / 2.518 GB, free: 100.4 MB / 0.8075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/4.559, allocations: 71.16 kB / 2.518 GB, free: 100.3 MB / 0.8075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/4.561, allocations: 0.8979 MB / 2.519 GB, free: 99.43 MB / 0.8075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/4.561, allocations: 8 kB / 2.519 GB, free: 99.42 MB / 0.8075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/4.561, allocations: 0 / 2.519 GB, free: 99.42 MB / 0.8075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.561, allocations: 3.984 kB / 2.519 GB, free: 99.42 MB / 0.8075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/4.562, allocations: 0.7222 MB / 2.519 GB, free: 98.66 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/4.562, allocations: 0 / 2.519 GB, free: 98.66 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/4.563, allocations: 155.7 kB / 2.519 GB, free: 98.51 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/4.563, allocations: 86.33 kB / 2.519 GB, free: 98.42 MB / 0.8075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/4.563, allocations: 15.98 kB / 2.52 GB, free: 98.41 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/4.565, allocations: 1.478 MB / 2.521 GB, free: 96.81 MB / 0.8075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/4.565, allocations: 0 / 2.521 GB, free: 96.81 MB / 0.8075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001354/4.566, allocations: 0.7294 MB / 2.522 GB, free: 96.05 MB / 0.8075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/4.567, allocations: 268 kB / 2.522 GB, free: 95.77 MB / 0.8075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/4.567, allocations: 4 kB / 2.522 GB, free: 95.77 MB / 0.8075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/4.567, allocations: 59.86 kB / 2.522 GB, free: 95.71 MB / 0.8075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/4.568, allocations: 52.69 kB / 2.522 GB, free: 95.66 MB / 0.8075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/4.568, allocations: 31.98 kB / 2.522 GB, free: 95.63 MB / 0.8075 GB Notification: Performance of sort global known variables: time 0.000448/4.568, allocations: 404.8 kB / 2.522 GB, free: 95.24 MB / 0.8075 GB Notification: Performance of remove unused functions: time 0.001129/4.569, allocations: 323.1 kB / 2.523 GB, free: 94.92 MB / 0.8075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/4.571, allocations: 1.052 MB / 2.524 GB, free: 94.02 MB / 0.8075 GB Notification: Performance of simCode: created initialization part: time 0.001147/4.572, allocations: 0.6311 MB / 2.524 GB, free: 93.39 MB / 0.8075 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/4.573, allocations: 0 / 2.524 GB, free: 93.39 MB / 0.8075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006419/4.573, allocations: 432.8 kB / 2.525 GB, free: 92.96 MB / 0.8075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/4.574, allocations: 214.1 kB / 2.525 GB, free: 92.76 MB / 0.8075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/4.578, allocations: 1.312 MB / 2.526 GB, free: 91.41 MB / 0.8075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/4.579, allocations: 1.118 MB / 2.527 GB, free: 90.27 MB / 0.8075 GB Notification: Performance of SimCode: time 1.242e-06/4.579, allocations: 0 / 2.527 GB, free: 90.27 MB / 0.8075 GB Notification: Performance of Templates: time 0.02777/4.606, allocations: 16.51 MB / 2.544 GB, free: 73.93 MB / 0.8075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)