Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8304/0.8304, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001803/0.001803, allocations: 189.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 85.27 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4364/0.4377, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.6574, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.805, allocations: 2.148 GB / 2.769 GB, free: 63.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/6.805, allocations: 95.94 kB / 2.769 GB, free: 63.06 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.5624/7.368, allocations: 66.93 MB / 2.835 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/7.368, allocations: 11.09 kB / 2.835 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/7.374, allocations: 0.8716 MB / 2.836 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/7.375, allocations: 0.5899 MB / 2.836 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/7.375, allocations: 36.52 kB / 2.836 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/7.375, allocations: 60.06 kB / 2.836 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002291/7.377, allocations: 1.421 MB / 2.838 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/7.379, allocations: 0.9952 MB / 2.839 GB, free: 189 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/7.379, allocations: 2.469 kB / 2.839 GB, free: 189 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/7.379, allocations: 0 / 2.839 GB, free: 189 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/7.379, allocations: 28.14 kB / 2.839 GB, free: 189 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/7.386, allocations: 2.943 MB / 2.841 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/7.387, allocations: 0.9196 MB / 2.842 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/7.388, allocations: 442.2 kB / 2.843 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/7.388, allocations: 480 kB / 2.843 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/7.389, allocations: 0.5884 MB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=99): time 4.008e-06/7.389, allocations: 3.156 kB / 2.844 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99): time 0.003014/7.392, allocations: 1.062 MB / 2.845 GB, free: 187.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/7.392, allocations: 170.8 kB / 2.845 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/7.393, allocations: 466.1 kB / 2.845 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/7.393, allocations: 29.61 kB / 2.846 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/7.394, allocations: 311.5 kB / 2.846 GB, free: 187 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/7.394, allocations: 314 kB / 2.846 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/7.394, allocations: 0 / 2.846 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001827/7.394, allocations: 372.1 kB / 2.846 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/7.395, allocations: 321 kB / 2.847 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/7.395, allocations: 418.5 kB / 2.847 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/7.396, allocations: 495.7 kB / 2.848 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/7.396, allocations: 2.344 kB / 2.848 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002701/7.399, allocations: 1.075 MB / 2.849 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/7.399, allocations: 3.844 kB / 2.849 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.399, allocations: 3.906 kB / 2.849 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/7.4, allocations: 84.53 kB / 2.849 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/7.401, allocations: 251.7 kB / 2.849 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/7.403, allocations: 1.459 MB / 2.85 GB, free: 185 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/7.405, allocations: 128 kB / 2.851 GB, free: 185 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/7.405, allocations: 40.03 kB / 2.851 GB, free: 185 MB / 0.6355 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * 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.0002486/7.405, allocations: 125.5 kB / 2.851 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/7.405, allocations: 75.09 kB / 2.851 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/7.409, allocations: 1.436 MB / 2.852 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/7.409, allocations: 10.12 kB / 2.852 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/7.409, allocations: 3.562 kB / 2.852 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/7.409, allocations: 6.047 kB / 2.852 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/7.41, allocations: 0.9354 MB / 2.853 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/7.41, allocations: 3.906 kB / 2.853 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/7.412, allocations: 253.1 kB / 2.853 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/7.412, allocations: 86.72 kB / 2.853 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/7.412, allocations: 24.69 kB / 2.853 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/7.414, allocations: 1.469 MB / 2.855 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.414, allocations: 0 / 2.855 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00271/7.417, allocations: 1.164 MB / 2.856 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002773/7.42, allocations: 1.577 MB / 2.858 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/7.42, allocations: 310.9 kB / 2.858 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/7.42, allocations: 7.75 kB / 2.858 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/7.422, allocations: 109.2 kB / 2.858 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/7.422, allocations: 58.36 kB / 2.858 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/7.422, allocations: 42.81 kB / 2.858 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005045/7.423, allocations: 366.3 kB / 2.858 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002181/7.425, allocations: 450.5 kB / 2.859 GB, free: 182.3 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.002272/7.427, allocations: 1.035 MB / 2.86 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002005/7.429, allocations: 0.9743 MB / 2.861 GB, free: 182 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/7.429, allocations: 3.906 kB / 2.861 GB, free: 182 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/7.43, allocations: 0.616 MB / 2.861 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/7.431, allocations: 163.2 kB / 2.862 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/7.437, allocations: 1.533 MB / 2.863 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/7.438, allocations: 1.17 MB / 2.864 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.953e-06/7.438, allocations: 3.625 kB / 2.864 GB, free: 180.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)