Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.6948/0.6948, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001189/0.001188, allocations: 189.2 kB / 164.4 MB, free: 6.883 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.804/1.804, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009965/0.0009964, allocations: 91.31 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.375/0.3761, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.5912, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/6.524, allocations: 2.146 GB / 2.767 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004039/6.525, allocations: 91.94 kB / 2.767 GB, free: 49.97 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.5735/7.098, allocations: 55.91 MB / 2.822 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/7.098, allocations: 7.656 kB / 2.822 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/7.101, allocations: 330 kB / 2.822 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/7.102, allocations: 0.5272 MB / 2.823 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/7.102, allocations: 23.22 kB / 2.823 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/7.102, allocations: 45 kB / 2.823 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/7.103, allocations: 1.009 MB / 2.824 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/7.105, allocations: 0.7029 MB / 2.825 GB, free: 188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/7.105, allocations: 0 / 2.825 GB, free: 188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/7.105, allocations: 0 / 2.825 GB, free: 188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/7.105, allocations: 23.86 kB / 2.825 GB, free: 188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/7.109, allocations: 2.232 MB / 2.827 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/7.11, allocations: 0.7379 MB / 2.827 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/7.111, allocations: 262.5 kB / 2.828 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/7.111, allocations: 472.4 kB / 2.828 GB, free: 186.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006471/7.112, allocations: 407.5 kB / 2.829 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 4.218e-06/7.112, allocations: 0 / 2.829 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002336/7.114, allocations: 0.7171 MB / 2.829 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/7.114, allocations: 170.1 kB / 2.829 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/7.115, allocations: 446.4 kB / 2.83 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/7.115, allocations: 30.59 kB / 2.83 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/7.115, allocations: 275.8 kB / 2.83 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/7.116, allocations: 231.5 kB / 2.83 GB, free: 186 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/7.116, allocations: 0 / 2.83 GB, free: 186 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001573/7.116, allocations: 360.2 kB / 2.831 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/7.116, allocations: 203.2 kB / 2.831 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/7.117, allocations: 274.9 kB / 2.831 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008085/7.117, allocations: 311.4 kB / 2.831 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/7.117, allocations: 0 / 2.831 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00192/7.119, allocations: 0.7312 MB / 2.832 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/7.119, allocations: 6.5 kB / 2.832 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/7.119, allocations: 3.938 kB / 2.832 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/7.12, allocations: 82.94 kB / 2.832 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/7.121, allocations: 152.6 kB / 2.832 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/7.123, allocations: 1.457 MB / 2.834 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/7.124, allocations: 67.23 kB / 2.834 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/7.124, allocations: 32.94 kB / 2.834 GB, free: 184.2 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.0002251/7.124, allocations: 113.5 kB / 2.834 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/7.124, allocations: 64.72 kB / 2.834 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/7.127, allocations: 1.011 MB / 2.835 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/7.127, allocations: 11.88 kB / 2.835 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/7.127, allocations: 0 / 2.835 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/7.127, allocations: 3.891 kB / 2.835 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/7.131, allocations: 1.736 MB / 2.837 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/7.131, allocations: 1.688 kB / 2.837 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/7.132, allocations: 157.1 kB / 2.837 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/7.133, allocations: 82.91 kB / 2.837 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/7.133, allocations: 18.48 kB / 2.837 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/7.135, allocations: 1.483 MB / 2.838 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/7.135, allocations: 0 / 2.838 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002179/7.137, allocations: 0.8884 MB / 2.839 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002297/7.139, allocations: 1.296 MB / 2.841 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/7.14, allocations: 268.8 kB / 2.841 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/7.14, allocations: 7.844 kB / 2.841 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/7.141, allocations: 58.89 kB / 2.841 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/7.141, allocations: 46.42 kB / 2.841 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/7.141, allocations: 32.27 kB / 2.841 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000634/7.141, allocations: 364.4 kB / 2.841 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002601/7.144, allocations: 392.9 kB / 2.842 GB, free: 181.4 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.002663/7.147, allocations: 1.026 MB / 2.843 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001706/7.149, allocations: 0.657 MB / 2.843 GB, free: 181 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/7.149, allocations: 0 / 2.843 GB, free: 181 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/7.149, allocations: 450 kB / 2.844 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/7.151, allocations: 184.7 kB / 2.844 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/7.155, allocations: 1.269 MB / 2.845 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/7.157, allocations: 1.094 MB / 2.846 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/7.157, allocations: 0 / 2.846 GB, free: 179.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)