Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.7526/0.7526, allocations: 127.4 MB / 134.6 MB, free: 4.125 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.002104/0.002104, allocations: 189.2 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 1.753/1.753, allocations: 205.1 MB / 399.1 MB, free: 6.152 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.001031/0.001031, allocations: 87.38 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3529/0.354, allocations: 82.9 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.6104, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.565, allocations: 2.147 GB / 2.768 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/6.566, allocations: 95.94 kB / 2.768 GB, free: 47.67 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.6075/7.173, allocations: 61.02 MB / 2.827 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/7.173, allocations: 11.56 kB / 2.827 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/7.176, allocations: 348.7 kB / 2.828 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/7.177, allocations: 0.5327 MB / 2.828 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/7.177, allocations: 26.41 kB / 2.828 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/7.177, allocations: 43.03 kB / 2.828 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/7.178, allocations: 1.016 MB / 2.829 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/7.179, allocations: 0.7007 MB / 2.83 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/7.179, allocations: 6.469 kB / 2.83 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/7.179, allocations: 3.875 kB / 2.83 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/7.18, allocations: 19.72 kB / 2.83 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/7.183, allocations: 2.266 MB / 2.832 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/7.185, allocations: 0.7463 MB / 2.833 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/7.186, allocations: 266 kB / 2.833 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/7.187, allocations: 471.6 kB / 2.834 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/7.187, allocations: 414.2 kB / 2.834 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.968e-06/7.187, allocations: 0 / 2.834 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002176/7.189, allocations: 0.7486 MB / 2.835 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/7.189, allocations: 161.2 kB / 2.835 GB, free: 192 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/7.19, allocations: 450.3 kB / 2.835 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/7.19, allocations: 25.7 kB / 2.835 GB, free: 191.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/7.19, allocations: 278.6 kB / 2.836 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/7.191, allocations: 229.3 kB / 2.836 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/7.191, allocations: 0 / 2.836 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/7.191, allocations: 365.4 kB / 2.836 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/7.191, allocations: 203.6 kB / 2.836 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/7.192, allocations: 280.5 kB / 2.837 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/7.192, allocations: 325 kB / 2.837 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/7.192, allocations: 0 / 2.837 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001846/7.194, allocations: 0.7419 MB / 2.838 GB, free: 191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/7.194, allocations: 10.62 kB / 2.838 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/7.194, allocations: 0 / 2.838 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/7.195, allocations: 89.17 kB / 2.838 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/7.196, allocations: 155.5 kB / 2.838 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/7.198, allocations: 1.459 MB / 2.839 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/7.198, allocations: 65.81 kB / 2.839 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/7.198, allocations: 27.08 kB / 2.839 GB, free: 189.8 MB / 0.6355 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.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 (75): * Single equations (assignments): 74 * 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.0002087/7.199, allocations: 124.9 kB / 2.84 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/7.199, allocations: 65.12 kB / 2.84 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/7.202, allocations: 1.026 MB / 2.841 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/7.202, allocations: 10.19 kB / 2.841 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/7.202, allocations: 2.906 kB / 2.841 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/7.202, allocations: 3.703 kB / 2.841 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/7.203, allocations: 0.7266 MB / 2.841 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/7.203, allocations: 0 / 2.841 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/7.203, allocations: 161.9 kB / 2.841 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/7.204, allocations: 83.73 kB / 2.842 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/7.204, allocations: 19.44 kB / 2.842 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/7.206, allocations: 1.483 MB / 2.843 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/7.206, allocations: 4.781 kB / 2.843 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001857/7.208, allocations: 0.8257 MB / 2.844 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002055/7.21, allocations: 1.234 MB / 2.845 GB, free: 187.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/7.21, allocations: 272.9 kB / 2.845 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/7.21, allocations: 3.344 kB / 2.845 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/7.211, allocations: 68.94 kB / 2.845 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/7.211, allocations: 45.16 kB / 2.845 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/7.211, allocations: 34.23 kB / 2.845 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004408/7.211, allocations: 361.3 kB / 2.846 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00182/7.213, allocations: 399.4 kB / 2.846 GB, free: 187.2 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 (81): * Single equations (assignments): 78 * 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.001897/7.215, allocations: 1.023 MB / 2.847 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001517/7.217, allocations: 0.6729 MB / 2.848 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/7.217, allocations: 0 / 2.848 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007777/7.218, allocations: 454 kB / 2.848 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/7.219, allocations: 170.3 kB / 2.848 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/7.222, allocations: 1.286 MB / 2.85 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009565/7.223, allocations: 1.088 MB / 2.851 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/7.223, allocations: 0 / 2.851 GB, free: 185.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)