Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.7824/0.7824, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.00179/0.001791, allocations: 185.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.076/2.076, allocations: 205.1 MB / 399.1 MB, free: 6.195 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.001057/0.001057, allocations: 94.25 kB / 476.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4298/0.4309, allocations: 82.88 MB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.6438, allocations: 76.75 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6/6.644, allocations: 2.146 GB / 2.767 GB, free: 65.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/6.644, allocations: 91.94 kB / 2.767 GB, free: 65.87 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.1399/6.784, allocations: 60.64 MB / 2.826 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/6.784, allocations: 12 kB / 2.826 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/6.786, allocations: 326.4 kB / 2.827 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/6.788, allocations: 0.5257 MB / 2.827 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/6.788, allocations: 32 kB / 2.827 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/6.788, allocations: 44 kB / 2.827 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001752/6.79, allocations: 0.9952 MB / 2.828 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/6.791, allocations: 0.6887 MB / 2.829 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/6.791, allocations: 0 / 2.829 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/6.791, allocations: 7.984 kB / 2.829 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/6.791, allocations: 20 kB / 2.829 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.324/7.115, allocations: 2.233 MB / 2.831 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/7.117, allocations: 0.6629 MB / 2.832 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/7.117, allocations: 259.5 kB / 2.832 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/7.118, allocations: 467.3 kB / 2.833 GB, free: 262.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/7.119, allocations: 400.8 kB / 2.833 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/7.119, allocations: 3.656 kB / 2.833 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.002186/7.121, allocations: 0.7178 MB / 2.834 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/7.121, allocations: 166.3 kB / 2.834 GB, free: 261.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/7.122, allocations: 444.5 kB / 2.834 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/7.122, allocations: 29.14 kB / 2.834 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/7.122, allocations: 268.4 kB / 2.835 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/7.122, allocations: 223.9 kB / 2.835 GB, free: 261.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/7.122, allocations: 0 / 2.835 GB, free: 261.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/7.122, allocations: 369.6 kB / 2.835 GB, free: 261.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/7.123, allocations: 202.1 kB / 2.835 GB, free: 261.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/7.123, allocations: 267.6 kB / 2.836 GB, free: 261.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/7.124, allocations: 318.6 kB / 2.836 GB, free: 261.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/7.124, allocations: 0 / 2.836 GB, free: 261.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001954/7.126, allocations: 0.7246 MB / 2.837 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/7.126, allocations: 3.906 kB / 2.837 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/7.126, allocations: 0 / 2.837 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/7.127, allocations: 87.19 kB / 2.837 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/7.127, allocations: 152.2 kB / 2.837 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/7.129, allocations: 1.452 MB / 2.838 GB, free: 259.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/7.13, allocations: 68.03 kB / 2.838 GB, free: 259.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/7.13, allocations: 31.7 kB / 2.838 GB, free: 259.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 (72): * Single equations (assignments): 71 * 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.0001943/7.13, allocations: 110.5 kB / 2.838 GB, free: 259.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/7.131, allocations: 62.22 kB / 2.838 GB, free: 259.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/7.133, allocations: 0.9875 MB / 2.839 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.133, allocations: 8.266 kB / 2.839 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/7.133, allocations: 0 / 2.839 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/7.133, allocations: 3.703 kB / 2.839 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/7.134, allocations: 0.7224 MB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/7.134, allocations: 1.562 kB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/7.135, allocations: 151.9 kB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/7.136, allocations: 82.56 kB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/7.136, allocations: 13.03 kB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/7.137, allocations: 1.486 MB / 2.842 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/7.137, allocations: 4 kB / 2.842 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00215/7.14, allocations: 0.801 MB / 2.843 GB, free: 258.1 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002126/7.142, allocations: 1.213 MB / 2.844 GB, free: 257.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/7.142, allocations: 270.8 kB / 2.844 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/7.143, allocations: 6.219 kB / 2.844 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/7.144, allocations: 59.8 kB / 2.844 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/7.144, allocations: 46.45 kB / 2.844 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/7.144, allocations: 26.75 kB / 2.844 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008914/7.145, allocations: 368.1 kB / 2.845 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003377/7.149, allocations: 384.6 kB / 2.845 GB, free: 257.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 (77): * Single equations (assignments): 74 * 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.00323/7.152, allocations: 1.029 MB / 2.846 GB, free: 257.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002429/7.154, allocations: 0.6458 MB / 2.847 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/7.154, allocations: 0 / 2.847 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/7.156, allocations: 440.4 kB / 2.847 GB, free: 257 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/7.157, allocations: 177.1 kB / 2.847 GB, free: 257 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/7.164, allocations: 1.249 MB / 2.848 GB, free: 256.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/7.165, allocations: 1.083 MB / 2.849 GB, free: 256 MB / 0.6355 GB Notification: Performance of SimCode: time 3.126e-06/7.165, allocations: 0 / 2.849 GB, free: 256 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)