Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.7696/0.7696, 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.001312/0.001312, allocations: 177.3 kB / 164.4 MB, free: 6.879 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.096/2.096, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001037/0.001037, allocations: 84.25 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4019/0.4029, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.6258, allocations: 76.76 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/6.539, allocations: 2.148 GB / 2.769 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004496/6.539, allocations: 88.7 kB / 2.769 GB, free: 63.53 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.6102/7.149, allocations: 93.4 MB / 2.86 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/7.149, allocations: 11.94 kB / 2.86 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/7.152, allocations: 388 kB / 2.861 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/7.153, allocations: 0.6978 MB / 2.861 GB, free: 187 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/7.153, allocations: 42.69 kB / 2.861 GB, free: 187 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/7.153, allocations: 81.09 kB / 2.861 GB, free: 187 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00213/7.155, allocations: 1.366 MB / 2.863 GB, free: 187 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/7.157, allocations: 1.135 MB / 2.864 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/7.157, allocations: 0 / 2.864 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/7.157, allocations: 3.531 kB / 2.864 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/7.157, allocations: 32.94 kB / 2.864 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/7.164, allocations: 3.738 MB / 2.867 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/7.166, allocations: 0.8764 MB / 2.868 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/7.166, allocations: 370.9 kB / 2.869 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/7.167, allocations: 485.9 kB / 2.869 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/7.168, allocations: 0.5459 MB / 2.87 GB, free: 185 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 4.899e-06/7.168, allocations: 0 / 2.87 GB, free: 185 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104): time 0.00281/7.171, allocations: 0.9801 MB / 2.871 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/7.171, allocations: 169.8 kB / 2.871 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/7.172, allocations: 0.5486 MB / 2.871 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.392e-05/7.172, allocations: 29.08 kB / 2.871 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/7.172, allocations: 459.4 kB / 2.872 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/7.173, allocations: 333.1 kB / 2.872 GB, free: 184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/7.173, allocations: 0 / 2.872 GB, free: 184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002076/7.173, allocations: 381.4 kB / 2.872 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/7.174, allocations: 310 kB / 2.873 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/7.174, allocations: 395.8 kB / 2.873 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/7.175, allocations: 453.3 kB / 2.874 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/7.176, allocations: 2.438 kB / 2.874 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002858/7.178, allocations: 1.041 MB / 2.875 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/7.178, allocations: 3.781 kB / 2.875 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/7.178, allocations: 3.688 kB / 2.875 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/7.179, allocations: 84.92 kB / 2.875 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/7.18, allocations: 230.7 kB / 2.875 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/7.183, allocations: 1.457 MB / 2.876 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/7.184, allocations: 87.53 kB / 2.876 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/7.184, allocations: 43.41 kB / 2.876 GB, free: 182.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 (116): * Single equations (assignments): 115 * 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.0003577/7.184, allocations: 120.8 kB / 2.877 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/7.185, allocations: 93.3 kB / 2.877 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/7.19, allocations: 1.375 MB / 2.878 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/7.19, allocations: 10.78 kB / 2.878 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/7.19, allocations: 0.5625 kB / 2.878 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/7.19, allocations: 5.719 kB / 2.878 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006684/7.196, allocations: 2.371 MB / 2.88 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/7.196, allocations: 3.844 kB / 2.88 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/7.198, allocations: 204 kB / 2.881 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005903/7.198, allocations: 82.33 kB / 2.881 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/7.198, allocations: 23.98 kB / 2.881 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/7.2, allocations: 1.492 MB / 2.882 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/7.2, allocations: 0 / 2.882 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003172/7.203, allocations: 1.12 MB / 2.883 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003462/7.207, allocations: 1.536 MB / 2.885 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/7.208, allocations: 349.9 kB / 2.885 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/7.208, allocations: 6.031 kB / 2.885 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/7.209, allocations: 63.56 kB / 2.885 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/7.209, allocations: 62.34 kB / 2.885 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/7.209, allocations: 38.3 kB / 2.885 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008131/7.21, allocations: 481.5 kB / 2.886 GB, free: 179 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002447/7.212, allocations: 0.4887 MB / 2.886 GB, free: 178.8 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 (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.001968/7.214, allocations: 1.028 MB / 2.887 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002211/7.216, allocations: 0.9188 MB / 2.888 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/7.217, allocations: 0 / 2.888 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/7.218, allocations: 0.5575 MB / 2.889 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/7.219, allocations: 186.4 kB / 2.889 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/7.225, allocations: 1.77 MB / 2.89 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/7.227, allocations: 1.296 MB / 2.892 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/7.227, allocations: 0 / 2.892 GB, free: 176.5 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)