Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.294/1.294, allocations: 249.4 MB / 256.7 MB, free: 6.914 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.001113/0.001113, allocations: 185.1 kB / 316 MB, free: 3.5 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.392/1.392, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0009057/0.0009058, allocations: 98.19 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4122/0.4132, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.6152, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.438/5.053, allocations: 2.192 GB / 3.077 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.053, allocations: 87.95 kB / 3.077 GB, free: 211 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.1426/5.196, allocations: 69.77 MB / 3.145 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/5.196, allocations: 12 kB / 3.145 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/5.2, allocations: 0.7397 MB / 3.146 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/5.201, allocations: 0.6735 MB / 3.146 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/5.201, allocations: 36 kB / 3.146 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/5.201, allocations: 56 kB / 3.146 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001823/5.203, allocations: 1.397 MB / 3.148 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/5.205, allocations: 1.005 MB / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/5.205, allocations: 0 / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/5.205, allocations: 0 / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/5.205, allocations: 28 kB / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/5.209, allocations: 2.971 MB / 3.152 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/5.211, allocations: 0.903 MB / 3.153 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/5.211, allocations: 421.2 kB / 3.153 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/5.212, allocations: 478.2 kB / 3.154 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006825/5.212, allocations: 0.5648 MB / 3.154 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 2.836e-06/5.212, allocations: 0 / 3.154 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.002104/5.214, allocations: 0.9874 MB / 3.155 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/5.215, allocations: 240.3 kB / 3.155 GB, free: 130 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/5.215, allocations: 0.5023 MB / 3.156 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/5.215, allocations: 25.7 kB / 3.156 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/5.215, allocations: 336.3 kB / 3.156 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/5.216, allocations: 319.2 kB / 3.156 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/5.216, allocations: 0 / 3.156 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/5.216, allocations: 382.8 kB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/5.216, allocations: 310 kB / 3.157 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/5.217, allocations: 438.3 kB / 3.157 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/5.217, allocations: 418.7 kB / 3.158 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.217, allocations: 0 / 3.158 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00201/5.219, allocations: 0.9952 MB / 3.159 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/5.219, allocations: 7.984 kB / 3.159 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/5.219, allocations: 0 / 3.159 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/5.22, allocations: 84.88 kB / 3.159 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/5.221, allocations: 239.6 kB / 3.159 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/5.223, allocations: 1.457 MB / 3.161 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/5.224, allocations: 131.3 kB / 3.161 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/5.224, allocations: 39.97 kB / 3.161 GB, free: 124.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001975/5.224, allocations: 123.1 kB / 3.161 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/5.225, allocations: 82.97 kB / 3.161 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/5.228, allocations: 1.36 MB / 3.162 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/5.228, allocations: 8 kB / 3.162 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/5.228, allocations: 0 / 3.162 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/5.228, allocations: 11.97 kB / 3.162 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/5.229, allocations: 0.9635 MB / 3.163 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.229, allocations: 0 / 3.163 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/5.23, allocations: 247.6 kB / 3.163 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/5.23, allocations: 84.78 kB / 3.164 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/5.23, allocations: 23.91 kB / 3.164 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/5.232, allocations: 1.48 MB / 3.165 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/5.232, allocations: 0 / 3.165 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002083/5.234, allocations: 1.094 MB / 3.166 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002131/5.236, allocations: 1.512 MB / 3.168 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/5.237, allocations: 319.6 kB / 3.168 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/5.237, allocations: 11.98 kB / 3.168 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/5.238, allocations: 107.9 kB / 3.168 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/5.238, allocations: 60.91 kB / 3.168 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/5.238, allocations: 43.97 kB / 3.168 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004824/5.239, allocations: 414.8 kB / 3.168 GB, free: 116 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001706/5.24, allocations: 446.8 kB / 3.169 GB, free: 115.6 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 (111): * Single equations (assignments): 108 * 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.001619/5.242, allocations: 1.032 MB / 3.17 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001506/5.243, allocations: 0.9636 MB / 3.171 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.243, allocations: 0 / 3.171 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008332/5.244, allocations: 0.6145 MB / 3.171 GB, free: 113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/5.245, allocations: 209.7 kB / 3.172 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/5.249, allocations: 1.6 MB / 3.173 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009176/5.25, allocations: 1.203 MB / 3.174 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/5.25, allocations: 0 / 3.174 GB, free: 109.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)