Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.36/2.36, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001722, allocations: 188 kB / 315.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.1 MB / 0.5658 GB, free: 360 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002204/0.002204, allocations: 85.62 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4953/0.4976, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.7196, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.289/7.008, allocations: 2.191 GB / 3.074 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/7.009, allocations: 94.88 kB / 3.074 GB, free: 173.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.2582/7.267, allocations: 65.32 MB / 3.138 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/7.267, allocations: 11.94 kB / 3.138 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/7.27, allocations: 286.4 kB / 3.138 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/7.271, allocations: 0.6308 MB / 3.139 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/7.271, allocations: 28 kB / 3.139 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/7.272, allocations: 48 kB / 3.139 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002566/7.274, allocations: 1.034 MB / 3.14 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/7.276, allocations: 0.7818 MB / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/7.276, allocations: 0 / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/7.276, allocations: 4 kB / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/7.276, allocations: 20 kB / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00696/7.283, allocations: 2.446 MB / 3.143 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/7.287, allocations: 0.7276 MB / 3.144 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/7.287, allocations: 262.7 kB / 3.144 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/7.287, allocations: 32.59 kB / 3.144 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000853/7.288, allocations: 398 kB / 3.144 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.557e-06/7.288, allocations: 0 / 3.144 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002763/7.291, allocations: 0.6599 MB / 3.145 GB, free: 108 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/7.291, allocations: 244 kB / 3.145 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/7.292, allocations: 0.4983 MB / 3.146 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/7.292, allocations: 25.7 kB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/7.293, allocations: 316.1 kB / 3.146 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/7.293, allocations: 236.4 kB / 3.146 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/7.293, allocations: 0 / 3.146 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/7.293, allocations: 374.8 kB / 3.147 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/7.294, allocations: 201.3 kB / 3.147 GB, free: 106 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/7.294, allocations: 310.4 kB / 3.147 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/7.295, allocations: 239.1 kB / 3.147 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/7.295, allocations: 0 / 3.147 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002761/7.298, allocations: 0.6717 MB / 3.148 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/7.298, allocations: 8 kB / 3.148 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/7.298, allocations: 0 / 3.148 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/7.299, allocations: 80.84 kB / 3.148 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/7.301, allocations: 163.8 kB / 3.148 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/7.304, allocations: 1.453 MB / 3.15 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/7.305, allocations: 79.5 kB / 3.15 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/7.306, allocations: 27.97 kB / 3.15 GB, free: 102.8 MB / 0.8698 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 (76): * Single equations (assignments): 75 * 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.0002892/7.306, allocations: 129 kB / 3.15 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/7.306, allocations: 71.16 kB / 3.15 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/7.31, allocations: 0.9525 MB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/7.31, allocations: 8 kB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/7.31, allocations: 7.844 kB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/7.31, allocations: 3.984 kB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/7.312, allocations: 0.767 MB / 3.152 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/7.312, allocations: 7.922 kB / 3.152 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/7.313, allocations: 167.8 kB / 3.152 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009909/7.314, allocations: 80.78 kB / 3.152 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/7.315, allocations: 15.98 kB / 3.152 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/7.317, allocations: 1.484 MB / 3.153 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.317, allocations: 3.938 kB / 3.153 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002848/7.32, allocations: 0.7685 MB / 3.154 GB, free: 98.19 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002835/7.323, allocations: 1.187 MB / 3.155 GB, free: 96.97 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/7.324, allocations: 271.9 kB / 3.156 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/7.324, allocations: 8 kB / 3.156 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/7.326, allocations: 67.94 kB / 3.156 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/7.326, allocations: 52.69 kB / 3.156 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/7.326, allocations: 31.98 kB / 3.156 GB, free: 96.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001065/7.327, allocations: 406.8 kB / 3.156 GB, free: 96.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003688/7.331, allocations: 398.9 kB / 3.157 GB, free: 95.75 MB / 0.8698 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 (86): * Single equations (assignments): 83 * 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.003173/7.334, allocations: 0.9994 MB / 3.158 GB, free: 94.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003026/7.338, allocations: 0.6741 MB / 3.158 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/7.338, allocations: 0 / 3.158 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/7.339, allocations: 452.6 kB / 3.159 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/7.342, allocations: 215.1 kB / 3.159 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/7.351, allocations: 1.378 MB / 3.16 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/7.352, allocations: 1.146 MB / 3.161 GB, free: 90.92 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/7.352, allocations: 0 / 3.161 GB, free: 90.92 MB / 0.8698 GB