Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [: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.9226/0.9226, allocations: 141.8 MB / 149.1 MB, free: 10.94 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 172.6 kB / 181.9 MB, free: 7.824 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 436 MB, free: 15.93 MB / 347.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 93.25 kB / 0.507 GB, free: 9.035 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 275.3 kB / 0.5884 GB, free: 5.828 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.671e-06, allocations: 0 / 0.6759 GB, free: 167.3 MB / 0.5421 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 82.78 MB / 0.7567 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.2471, allocations: 119.1 MB / 0.873 GB, free: 12.2 MB / 0.5577 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.2474, allocations: 75.95 kB / 0.8731 GB, free: 12.13 MB / 0.5577 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.2863/0.5337, allocations: 20.08 MB / 0.8927 GB, free: 119.4 MB / 0.5577 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.5338, allocations: 7.875 kB / 0.8927 GB, free: 119.4 MB / 0.5577 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001467/0.5352, allocations: 0.8252 MB / 0.8935 GB, free: 118.8 MB / 0.5577 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5353, allocations: 8.812 kB / 0.8936 GB, free: 118.8 MB / 0.5577 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.5378, allocations: 490.7 kB / 0.894 GB, free: 118.8 MB / 0.5577 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.5384, allocations: 396.8 kB / 0.8944 GB, free: 118.5 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5385, allocations: 190.9 kB / 0.8946 GB, free: 118.3 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.5386, allocations: 24.06 kB / 0.8946 GB, free: 118.3 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/0.5399, allocations: 0.7037 MB / 0.8953 GB, free: 118.3 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.5408, allocations: 0.5816 MB / 0.8959 GB, free: 118.2 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5408, allocations: 0 / 0.8959 GB, free: 118.2 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.5409, allocations: 2.422 kB / 0.8959 GB, free: 118.2 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.5409, allocations: 13.47 kB / 0.8959 GB, free: 118.2 MB / 0.5577 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.5442, allocations: 2.37 MB / 0.8982 GB, free: 117 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.5467, allocations: 0.8611 MB / 0.899 GB, free: 116.9 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.5474, allocations: 344.2 kB / 0.8994 GB, free: 116.9 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.5489, allocations: 1.765 MB / 0.9011 GB, free: 115 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.5496, allocations: 424.8 kB / 0.9015 GB, free: 114.9 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.5496, allocations: 0.5 kB / 0.9015 GB, free: 114.9 MB / 0.5577 GB Notification: Performance of matching and sorting (n=67): time 0.01134/0.5609, allocations: 2.071 MB / 0.9035 GB, free: 114.8 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.561, allocations: 137.6 kB / 0.9036 GB, free: 114.6 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.5614, allocations: 321.8 kB / 0.9039 GB, free: 114.5 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.5614, allocations: 25.7 kB / 0.904 GB, free: 114.5 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.5615, allocations: 180.1 kB / 0.9041 GB, free: 114.3 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5617, allocations: 212.3 kB / 0.9043 GB, free: 114.2 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.5617, allocations: 0 / 0.9043 GB, free: 114.2 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.5618, allocations: 354.8 kB / 0.9047 GB, free: 113.9 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.5623, allocations: 298.6 kB / 0.905 GB, free: 113.9 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.5629, allocations: 360 kB / 0.9053 GB, free: 113.8 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.5733, allocations: 1.704 MB / 0.907 GB, free: 113.8 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5733, allocations: 0 / 0.907 GB, free: 113.8 MB / 0.5577 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0117/0.585, allocations: 2.167 MB / 0.9091 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5851, allocations: 5.594 kB / 0.9091 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5851, allocations: 0 / 0.9091 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.5851, allocations: 7.312 kB / 0.9091 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5863, allocations: 211.2 kB / 0.9093 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5863, allocations: 3.375 kB / 0.9093 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5874, allocations: 149.6 kB / 0.9095 GB, free: 113.6 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.5875, allocations: 30.61 kB / 0.9095 GB, free: 113.6 MB / 0.5577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001793/0.5877, allocations: 115.1 kB / 0.9096 GB, free: 113.4 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5878, allocations: 46.34 kB / 0.9096 GB, free: 113.4 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.6002, allocations: 2.402 MB / 0.912 GB, free: 112.7 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6003, allocations: 8.656 kB / 0.912 GB, free: 112.7 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6003, allocations: 0.75 kB / 0.912 GB, free: 112.7 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6003, allocations: 4.984 kB / 0.912 GB, free: 112.7 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.6119, allocations: 3.063 MB / 0.915 GB, free: 110 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.612, allocations: 0 / 0.915 GB, free: 110 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6131, allocations: 227.7 kB / 0.9152 GB, free: 109.8 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.6132, allocations: 0 / 0.9152 GB, free: 109.8 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/0.6132, allocations: 15.98 kB / 0.9152 GB, free: 109.8 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.6132, allocations: 4 kB / 0.9152 GB, free: 109.8 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6133, allocations: 0 / 0.9152 GB, free: 109.8 MB / 0.5577 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0104/0.6237, allocations: 2.268 MB / 0.9174 GB, free: 107.5 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.624, allocations: 236.2 kB / 0.9177 GB, free: 107.3 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.6242, allocations: 0 / 0.9177 GB, free: 107.3 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.6251, allocations: 88.92 kB / 0.9177 GB, free: 107.2 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6252, allocations: 56.69 kB / 0.9178 GB, free: 107.1 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.6253, allocations: 27.98 kB / 0.9178 GB, free: 107.1 MB / 0.5577 GB Notification: Performance of sort global known variables: time 0.00023/0.6255, allocations: 246.4 kB / 0.9181 GB, free: 106.9 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0007693/0.6263, allocations: 251.6 kB / 0.9183 GB, free: 106.6 MB / 0.5577 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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 93 * 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.0008786/0.6272, allocations: 446.4 kB / 0.9187 GB, free: 106.3 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.6283, allocations: 0.7543 MB / 0.9195 GB, free: 105.5 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6283, allocations: 0 / 0.9195 GB, free: 105.5 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.6289, allocations: 446.7 kB / 0.9199 GB, free: 105.1 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.6293, allocations: 38 kB / 0.9199 GB, free: 105.1 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.631, allocations: 0.8495 MB / 0.9208 GB, free: 104.2 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000679/0.6317, allocations: 0.9754 MB / 0.9217 GB, free: 103.2 MB / 0.5577 GB Notification: Performance of SimCode: time 5.11e-07/0.6317, allocations: 0 / 0.9217 GB, free: 103.2 MB / 0.5577 GB Notification: Performance of Templates: time 0.01523/0.647, allocations: 11.22 MB / 0.9327 GB, free: 92.04 MB / 0.5577 GB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)