Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.325/2.325, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001836/0.001836, allocations: 184.3 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 2.275/2.275, allocations: 205.2 MB / 0.5658 GB, free: 304 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.001681/0.001681, allocations: 97.66 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5024/0.5041, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.718, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/6.659, allocations: 2.194 GB / 3.078 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/6.66, allocations: 83.7 kB / 3.078 GB, free: 173.8 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.4273/7.087, allocations: 98.92 MB / 3.174 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/7.087, allocations: 8 kB / 3.174 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02489/7.112, allocations: 2.026 MB / 3.176 GB, free: 80.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/7.116, allocations: 1.044 MB / 3.177 GB, free: 79.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/7.116, allocations: 60 kB / 3.178 GB, free: 79.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008724/7.117, allocations: 104 kB / 3.178 GB, free: 79.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009771/7.126, allocations: 2.771 MB / 3.18 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/7.134, allocations: 2.092 MB / 3.182 GB, free: 74.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/7.134, allocations: 0 / 3.182 GB, free: 74.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/7.135, allocations: 8 kB / 3.182 GB, free: 74.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/7.135, allocations: 44 kB / 3.182 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/7.16, allocations: 6.186 MB / 3.188 GB, free: 67.83 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/7.166, allocations: 1.847 MB / 3.19 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/7.169, allocations: 0.9818 MB / 3.191 GB, free: 64.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/7.171, allocations: 0.5072 MB / 3.192 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003613/7.174, allocations: 1.223 MB / 3.193 GB, free: 63.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 6.533e-06/7.174, allocations: 0 / 3.193 GB, free: 63.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.009532/7.184, allocations: 2.164 MB / 3.195 GB, free: 60.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/7.184, allocations: 253.3 kB / 3.195 GB, free: 60.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/7.186, allocations: 0.6646 MB / 3.196 GB, free: 59.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006768/7.186, allocations: 25.7 kB / 3.196 GB, free: 59.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/7.187, allocations: 0.5201 MB / 3.196 GB, free: 59.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009516/7.188, allocations: 0.5963 MB / 3.197 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/7.188, allocations: 0 / 3.197 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000134/7.188, allocations: 365.9 kB / 3.197 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/7.191, allocations: 0.7498 MB / 3.198 GB, free: 57.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/7.194, allocations: 0.9267 MB / 3.199 GB, free: 56.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/7.198, allocations: 0.978 MB / 3.2 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/7.198, allocations: 4.109 kB / 3.2 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009803/7.208, allocations: 2.211 MB / 3.202 GB, free: 53.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/7.208, allocations: 4 kB / 3.202 GB, free: 53.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/7.208, allocations: 4 kB / 3.202 GB, free: 53.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/7.209, allocations: 88.86 kB / 3.202 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007557/7.217, allocations: 0.55 MB / 3.203 GB, free: 52.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/7.22, allocations: 1.468 MB / 3.204 GB, free: 51.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005807/7.226, allocations: 278.7 kB / 3.204 GB, free: 51.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000824/7.227, allocations: 91.91 kB / 3.205 GB, free: 50.94 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0007428/7.227, allocations: 136.6 kB / 3.205 GB, free: 50.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006241/7.228, allocations: 126.4 kB / 3.205 GB, free: 50.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/7.243, allocations: 2.843 MB / 3.208 GB, free: 47.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/7.243, allocations: 20 kB / 3.208 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/7.243, allocations: 3.938 kB / 3.208 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/7.243, allocations: 15.95 kB / 3.208 GB, free: 47.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/7.26, allocations: 4.75 MB / 3.212 GB, free: 42.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/7.26, allocations: 0 / 3.212 GB, free: 42.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007311/7.267, allocations: 0.5305 MB / 3.213 GB, free: 42.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/7.268, allocations: 96.72 kB / 3.213 GB, free: 42.35 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007238/7.269, allocations: 51.91 kB / 3.213 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/7.272, allocations: 1.48 MB / 3.214 GB, free: 40.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/7.272, allocations: 3.984 kB / 3.214 GB, free: 40.69 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009052/7.281, allocations: 2.348 MB / 3.217 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009389/7.29, allocations: 2.77 MB / 3.219 GB, free: 35.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/7.292, allocations: 0.5297 MB / 3.22 GB, free: 34.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/7.293, allocations: 4 kB / 3.22 GB, free: 34.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005601/7.299, allocations: 227.8 kB / 3.22 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/7.299, allocations: 109.8 kB / 3.22 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004416/7.3, allocations: 79.92 kB / 3.22 GB, free: 34.56 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001196/7.301, allocations: 0.5499 MB / 3.221 GB, free: 34.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004162/7.305, allocations: 0.6192 MB / 3.221 GB, free: 33.39 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.002684/7.308, allocations: 1.043 MB / 3.222 GB, free: 32.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007071/7.315, allocations: 2.089 MB / 3.224 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/7.315, allocations: 3.938 kB / 3.224 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004049/7.319, allocations: 1.22 MB / 3.226 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/7.322, allocations: 223.2 kB / 3.226 GB, free: 28.92 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/7.335, allocations: 2.737 MB / 3.229 GB, free: 26.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004238/7.339, allocations: 1.605 MB / 3.23 GB, free: 24.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.825e-06/7.339, allocations: 4 kB / 3.23 GB, free: 24.5 MB / 0.8698 GB