Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.421/1.421, allocations: 289.8 MB / 297.1 MB, free: 8.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 180.3 kB / 366.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 0.6256 GB, free: 11.43 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009239/0.000924, allocations: 77.92 kB / 0.7396 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.983e-06, allocations: 3.938 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 116.3 MB / 0.9726 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.167/3.356, allocations: 2.073 GB / 3.046 GB, free: 228.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/3.356, allocations: 95.94 kB / 3.046 GB, free: 228.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1174/3.473, allocations: 59.07 MB / 3.103 GB, free: 169.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.056e-05/3.474, allocations: 27.94 kB / 3.103 GB, free: 169.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001861/3.475, allocations: 1.093 MB / 3.104 GB, free: 167.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/3.475, allocations: 11.97 kB / 3.105 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/3.476, allocations: 194.6 kB / 3.105 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/3.477, allocations: 0.6075 MB / 3.105 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/3.477, allocations: 28 kB / 3.105 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/3.478, allocations: 47.91 kB / 3.105 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001288/3.479, allocations: 1.003 MB / 3.106 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/3.48, allocations: 0.7272 MB / 3.107 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/3.48, allocations: 7.875 kB / 3.107 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/3.48, allocations: 0 / 3.107 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/3.48, allocations: 20 kB / 3.107 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/3.483, allocations: 2.357 MB / 3.109 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/3.484, allocations: 0.6611 MB / 3.11 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/3.484, allocations: 254.7 kB / 3.11 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/3.484, allocations: 40.58 kB / 3.11 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/3.485, allocations: 386.1 kB / 3.111 GB, free: 161.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.214e-06/3.485, allocations: 0 / 3.111 GB, free: 161.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001369/3.486, allocations: 0.6639 MB / 3.111 GB, free: 160.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/3.486, allocations: 248 kB / 3.112 GB, free: 160.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/3.487, allocations: 0.4984 MB / 3.112 GB, free: 159.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/3.487, allocations: 25.7 kB / 3.112 GB, free: 159.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/3.487, allocations: 300.1 kB / 3.112 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/3.487, allocations: 236.5 kB / 3.113 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/3.487, allocations: 0 / 3.113 GB, free: 159.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/3.487, allocations: 382.7 kB / 3.113 GB, free: 159 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/3.487, allocations: 201.3 kB / 3.113 GB, free: 158.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/3.488, allocations: 294.4 kB / 3.113 GB, free: 158.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/3.488, allocations: 255 kB / 3.114 GB, free: 158.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.488, allocations: 0 / 3.114 GB, free: 158.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001291/3.489, allocations: 0.6795 MB / 3.114 GB, free: 157.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/3.489, allocations: 4 kB / 3.114 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/3.49, allocations: 0 / 3.114 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/3.49, allocations: 92.77 kB / 3.114 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/3.491, allocations: 151.8 kB / 3.115 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/3.492, allocations: 1.457 MB / 3.116 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/3.493, allocations: 63.45 kB / 3.116 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/3.493, allocations: 31.98 kB / 3.116 GB, free: 155.6 MB / 0.948 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 (80): * Single equations (assignments): 79 * 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.0001337/3.493, allocations: 124.8 kB / 3.116 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/3.493, allocations: 75.06 kB / 3.116 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/3.495, allocations: 0.9567 MB / 3.117 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/3.495, allocations: 8 kB / 3.117 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/3.495, allocations: 0 / 3.117 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/3.495, allocations: 3.984 kB / 3.117 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/3.497, allocations: 1.716 MB / 3.119 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/3.497, allocations: 0 / 3.119 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/3.498, allocations: 151.8 kB / 3.119 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/3.499, allocations: 84.69 kB / 3.119 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/3.499, allocations: 15.98 kB / 3.119 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/3.5, allocations: 1.476 MB / 3.121 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/3.5, allocations: 0 / 3.121 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001261/3.501, allocations: 0.8323 MB / 3.121 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/3.502, allocations: 287.7 kB / 3.122 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/3.502, allocations: 0 / 3.122 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/3.502, allocations: 55.95 kB / 3.122 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/3.502, allocations: 56.83 kB / 3.122 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/3.502, allocations: 31.98 kB / 3.122 GB, free: 149.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003909/3.503, allocations: 418.9 kB / 3.122 GB, free: 149.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008703/3.504, allocations: 299.1 kB / 3.122 GB, free: 148.8 MB / 0.948 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001362/3.505, allocations: 1.004 MB / 3.123 GB, free: 147.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001003/3.506, allocations: 0.6663 MB / 3.124 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/3.506, allocations: 12.06 kB / 3.124 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/3.507, allocations: 452.5 kB / 3.125 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/3.508, allocations: 215.2 kB / 3.125 GB, free: 146.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/3.511, allocations: 1.351 MB / 3.126 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/3.511, allocations: 1.131 MB / 3.127 GB, free: 144 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/3.511, allocations: 0 / 3.127 GB, free: 144 MB / 0.948 GB Notification: Performance of Templates: time 0.02193/3.533, allocations: 16.65 MB / 3.143 GB, free: 127.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)