Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.000983/0.000983, allocations: 185.2 kB / 316 MB, free: 3.531 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.148/1.148, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007727/0.0007727, allocations: 86.28 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3536/0.3544, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.5197, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.244/4.764, allocations: 2.194 GB / 3.079 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/4.764, allocations: 83.95 kB / 3.079 GB, free: 209.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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.2109/4.975, allocations: 98.91 MB / 3.176 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/4.975, allocations: 8 kB / 3.176 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/4.988, allocations: 2.045 MB / 3.178 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/4.99, allocations: 1.036 MB / 3.179 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/4.99, allocations: 60 kB / 3.179 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/4.991, allocations: 107.9 kB / 3.179 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004572/4.995, allocations: 2.775 MB / 3.182 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/4.999, allocations: 2.088 MB / 3.184 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/4.999, allocations: 0 / 3.184 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/4.999, allocations: 0 / 3.184 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/4.999, allocations: 52 kB / 3.184 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/5.013, allocations: 6.193 MB / 3.19 GB, free: 95.58 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/5.016, allocations: 1.843 MB / 3.192 GB, free: 93.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/5.017, allocations: 0.9838 MB / 3.193 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/5.018, allocations: 0.4994 MB / 3.193 GB, free: 92.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/5.019, allocations: 1.231 MB / 3.194 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 4.558e-06/5.019, allocations: 0 / 3.194 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.004536/5.024, allocations: 2.156 MB / 3.196 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/5.024, allocations: 261.3 kB / 3.197 GB, free: 88.42 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/5.025, allocations: 0.6606 MB / 3.197 GB, free: 87.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/5.025, allocations: 33.69 kB / 3.197 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/5.025, allocations: 0.5083 MB / 3.198 GB, free: 87.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/5.026, allocations: 0.5964 MB / 3.198 GB, free: 86.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/5.026, allocations: 0 / 3.198 GB, free: 86.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/5.026, allocations: 365.9 kB / 3.199 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/5.027, allocations: 0.7538 MB / 3.199 GB, free: 85.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/5.028, allocations: 0.9268 MB / 3.2 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/5.03, allocations: 0.9819 MB / 3.201 GB, free: 83.54 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/5.03, allocations: 0 / 3.201 GB, free: 83.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004281/5.034, allocations: 2.211 MB / 3.203 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/5.034, allocations: 4 kB / 3.203 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/5.034, allocations: 112 / 3.203 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/5.035, allocations: 92.81 kB / 3.204 GB, free: 81.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/5.039, allocations: 0.5539 MB / 3.204 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/5.04, allocations: 1.468 MB / 3.206 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/5.043, allocations: 278.7 kB / 3.206 GB, free: 78.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/5.043, allocations: 83.91 kB / 3.206 GB, free: 78.71 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.0004035/5.044, allocations: 128.6 kB / 3.206 GB, free: 78.58 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/5.044, allocations: 130.4 kB / 3.206 GB, free: 78.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/5.05, allocations: 2.863 MB / 3.209 GB, free: 75.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/5.05, allocations: 20 kB / 3.209 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/5.05, allocations: 0 / 3.209 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/5.05, allocations: 7.969 kB / 3.209 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007316/5.058, allocations: 4.746 MB / 3.214 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/5.058, allocations: 0 / 3.214 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/5.061, allocations: 0.5422 MB / 3.214 GB, free: 70.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/5.062, allocations: 88.72 kB / 3.214 GB, free: 70.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/5.062, allocations: 43.92 kB / 3.214 GB, free: 70.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/5.063, allocations: 1.48 MB / 3.216 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/5.063, allocations: 4.062 kB / 3.216 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004554/5.068, allocations: 2.352 MB / 3.218 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004301/5.072, allocations: 2.77 MB / 3.221 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/5.073, allocations: 0.522 MB / 3.221 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/5.073, allocations: 4 kB / 3.221 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/5.076, allocations: 231.7 kB / 3.221 GB, free: 62.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/5.076, allocations: 106 kB / 3.222 GB, free: 62.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/5.076, allocations: 87.89 kB / 3.222 GB, free: 62.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006538/5.077, allocations: 0.546 MB / 3.222 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002302/5.079, allocations: 0.627 MB / 3.223 GB, free: 61.16 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.00152/5.081, allocations: 1.03 MB / 3.224 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003295/5.084, allocations: 2.089 MB / 3.226 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/5.084, allocations: 0 / 3.226 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/5.086, allocations: 1.216 MB / 3.227 GB, free: 56.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/5.087, allocations: 236.8 kB / 3.227 GB, free: 56.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/5.093, allocations: 2.736 MB / 3.23 GB, free: 53.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/5.095, allocations: 1.61 MB / 3.231 GB, free: 52.22 MB / 0.8698 GB Notification: Performance of SimCode: time 4.01e-07/5.095, allocations: 4 kB / 3.231 GB, free: 52.22 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)