Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.342/2.342, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001631/0.001631, allocations: 182 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001272/0.001271, allocations: 90.7 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5097/0.511, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.7217, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.944/6.665, allocations: 2.191 GB / 3.074 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/6.666, allocations: 89.7 kB / 3.074 GB, free: 176.6 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.3521/7.018, allocations: 79.91 MB / 3.152 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/7.018, allocations: 15.94 kB / 3.152 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/7.02, allocations: 230.1 kB / 3.153 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/7.022, allocations: 0.7017 MB / 3.153 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/7.022, allocations: 39.94 kB / 3.153 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/7.022, allocations: 64 kB / 3.153 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004008/7.026, allocations: 1.117 MB / 3.155 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/7.029, allocations: 0.9217 MB / 3.155 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/7.029, allocations: 0 / 3.155 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/7.029, allocations: 0 / 3.155 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/7.029, allocations: 28 kB / 3.155 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007676/7.037, allocations: 2.82 MB / 3.158 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/7.039, allocations: 0.6804 MB / 3.159 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/7.04, allocations: 254.8 kB / 3.159 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/7.04, allocations: 40.67 kB / 3.159 GB, free: 97.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008826/7.041, allocations: 398 kB / 3.16 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.788e-06/7.041, allocations: 0 / 3.16 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.002843/7.043, allocations: 0.6678 MB / 3.16 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/7.044, allocations: 247.9 kB / 3.16 GB, free: 95.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/7.045, allocations: 0.5542 MB / 3.161 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/7.045, allocations: 25.7 kB / 3.161 GB, free: 95.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/7.046, allocations: 403.5 kB / 3.161 GB, free: 94.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/7.046, allocations: 248.2 kB / 3.162 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/7.046, allocations: 0 / 3.162 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/7.046, allocations: 390.9 kB / 3.162 GB, free: 94.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/7.047, allocations: 209.5 kB / 3.162 GB, free: 94.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/7.047, allocations: 307.5 kB / 3.162 GB, free: 93.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/7.048, allocations: 268.4 kB / 3.163 GB, free: 93.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/7.048, allocations: 0 / 3.163 GB, free: 93.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002794/7.051, allocations: 0.6939 MB / 3.163 GB, free: 92.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/7.051, allocations: 10.59 kB / 3.163 GB, free: 92.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/7.051, allocations: 7.906 kB / 3.163 GB, free: 92.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/7.052, allocations: 88.77 kB / 3.164 GB, free: 92.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/7.054, allocations: 147.8 kB / 3.164 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/7.056, allocations: 1.461 MB / 3.165 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/7.058, allocations: 63.45 kB / 3.165 GB, free: 90.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/7.058, allocations: 36.23 kB / 3.165 GB, free: 90.88 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 (83): * Single equations (assignments): 82 * 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.0002583/7.058, allocations: 117.2 kB / 3.165 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/7.058, allocations: 83.05 kB / 3.165 GB, free: 90.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/7.062, allocations: 0.9417 MB / 3.166 GB, free: 89.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/7.062, allocations: 12 kB / 3.166 GB, free: 89.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/7.062, allocations: 4 kB / 3.166 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/7.062, allocations: 7.969 kB / 3.166 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/7.064, allocations: 0.849 MB / 3.167 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/7.064, allocations: 0 / 3.167 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/7.065, allocations: 147.8 kB / 3.167 GB, free: 88.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009855/7.066, allocations: 84.78 kB / 3.167 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/7.066, allocations: 11.98 kB / 3.167 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/7.069, allocations: 1.472 MB / 3.169 GB, free: 86.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.069, allocations: 0 / 3.169 GB, free: 86.97 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003302/7.072, allocations: 0.7917 MB / 3.17 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002773/7.075, allocations: 1.198 MB / 3.171 GB, free: 84.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/7.076, allocations: 287.7 kB / 3.171 GB, free: 84.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/7.076, allocations: 8.062 kB / 3.171 GB, free: 84.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/7.077, allocations: 55.94 kB / 3.171 GB, free: 84.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/7.077, allocations: 52.7 kB / 3.171 GB, free: 84.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/7.077, allocations: 31.98 kB / 3.171 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008188/7.078, allocations: 451.1 kB / 3.172 GB, free: 84.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00241/7.081, allocations: 430.6 kB / 3.172 GB, free: 83.62 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 (89): * Single equations (assignments): 86 * 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.002064/7.083, allocations: 1.008 MB / 3.173 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002618/7.085, allocations: 0.6862 MB / 3.174 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/7.085, allocations: 4.125 kB / 3.174 GB, free: 82.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/7.087, allocations: 460.6 kB / 3.174 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/7.091, allocations: 216.6 kB / 3.174 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/7.102, allocations: 1.533 MB / 3.176 GB, free: 79.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/7.103, allocations: 1.212 MB / 3.177 GB, free: 78.54 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/7.103, allocations: 0 / 3.177 GB, free: 78.54 MB / 0.8698 GB