Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.8516/0.8516, 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.00107/0.00107, allocations: 177.3 kB / 164.4 MB, free: 6.902 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.791/1.791, 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.001028/0.001028, allocations: 91.19 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4107/0.4118, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.6293, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.331/5.96, allocations: 2.147 GB / 2.768 GB, free: 64.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004586/5.961, allocations: 95.94 kB / 2.768 GB, free: 64.47 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.1337/6.094, allocations: 56.3 MB / 2.823 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/6.094, allocations: 12 kB / 2.823 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/6.097, allocations: 334.3 kB / 2.824 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/6.099, allocations: 0.5295 MB / 2.824 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/6.099, allocations: 28 kB / 2.824 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/6.099, allocations: 44 kB / 2.824 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00199/6.101, allocations: 1.026 MB / 2.825 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/6.102, allocations: 0.7199 MB / 2.826 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/6.103, allocations: 0 / 2.826 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/6.103, allocations: 0 / 2.826 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/6.103, allocations: 20 kB / 2.826 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/6.107, allocations: 2.35 MB / 2.828 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/6.109, allocations: 0.6806 MB / 2.829 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/6.109, allocations: 269.2 kB / 2.829 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/6.11, allocations: 470.1 kB / 2.83 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/6.11, allocations: 422.8 kB / 2.83 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 2.741e-05/6.11, allocations: 0 / 2.83 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.3406/6.451, allocations: 0.7482 MB / 2.831 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/6.451, allocations: 162.5 kB / 2.831 GB, free: 263.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/6.452, allocations: 466.1 kB / 2.831 GB, free: 263.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002598/6.452, allocations: 28.95 kB / 2.831 GB, free: 263 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/6.452, allocations: 276.9 kB / 2.832 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/6.453, allocations: 235.9 kB / 2.832 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/6.453, allocations: 0 / 2.832 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001326/6.453, allocations: 372.2 kB / 2.832 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/6.453, allocations: 209.8 kB / 2.833 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/6.454, allocations: 285.1 kB / 2.833 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/6.455, allocations: 329.7 kB / 2.833 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/6.455, allocations: 0 / 2.833 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001985/6.457, allocations: 0.757 MB / 2.834 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/6.457, allocations: 7.719 kB / 2.834 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/6.457, allocations: 3.594 kB / 2.834 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/6.457, allocations: 79.33 kB / 2.834 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/6.458, allocations: 166.4 kB / 2.834 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/6.46, allocations: 1.46 MB / 2.836 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/6.461, allocations: 67.3 kB / 2.836 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/6.461, allocations: 26.8 kB / 2.836 GB, free: 261.1 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 (80): * Single equations (assignments): 79 * 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.000192/6.461, allocations: 118 kB / 2.836 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/6.461, allocations: 72.97 kB / 2.836 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/6.464, allocations: 1.02 MB / 2.837 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/6.464, allocations: 7.906 kB / 2.837 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/6.464, allocations: 10.52 kB / 2.837 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/6.464, allocations: 3.656 kB / 2.837 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/6.468, allocations: 1.754 MB / 2.839 GB, free: 260.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/6.468, allocations: 0 / 2.839 GB, free: 260.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/6.468, allocations: 159.3 kB / 2.839 GB, free: 260.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/6.469, allocations: 86.47 kB / 2.839 GB, free: 260.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/6.469, allocations: 17.06 kB / 2.839 GB, free: 260.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/6.471, allocations: 1.476 MB / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/6.471, allocations: 0 / 2.84 GB, free: 259.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002041/6.473, allocations: 0.9029 MB / 2.841 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002334/6.475, allocations: 1.309 MB / 2.842 GB, free: 258.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/6.476, allocations: 278.6 kB / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/6.476, allocations: 0 / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/6.477, allocations: 56.94 kB / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/6.477, allocations: 58.3 kB / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/6.477, allocations: 30.62 kB / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000573/6.478, allocations: 380.9 kB / 2.843 GB, free: 258.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002337/6.48, allocations: 392.4 kB / 2.844 GB, free: 258.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.002676/6.483, allocations: 1.015 MB / 2.844 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001558/6.484, allocations: 0.6794 MB / 2.845 GB, free: 258.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/6.484, allocations: 0 / 2.845 GB, free: 258.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/6.485, allocations: 455.1 kB / 2.846 GB, free: 258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/6.486, allocations: 181 kB / 2.846 GB, free: 258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/6.49, allocations: 1.282 MB / 2.847 GB, free: 257.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/6.491, allocations: 1.105 MB / 2.848 GB, free: 257 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/6.491, allocations: 0 / 2.848 GB, free: 257 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)