Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.7176/0.7176, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001197/0.001197, allocations: 185.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.893/1.893, allocations: 205.1 MB / 399.1 MB, free: 6.168 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.0008933/0.0008934, allocations: 89.44 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3358/0.3367, allocations: 82.87 MB / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.5203, allocations: 76.76 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.508/6.029, allocations: 2.149 GB / 2.77 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/6.029, allocations: 87.94 kB / 2.77 GB, free: 62.68 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.6524/6.682, allocations: 82.27 MB / 2.85 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/6.682, allocations: 10.28 kB / 2.851 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/6.684, allocations: 374.1 kB / 2.851 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/6.685, allocations: 0.6605 MB / 2.852 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/6.685, allocations: 89.39 kB / 2.852 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/6.685, allocations: 70.41 kB / 2.852 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/6.687, allocations: 1.266 MB / 2.853 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/6.689, allocations: 1.013 MB / 2.854 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/6.689, allocations: 6.484 kB / 2.854 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/6.689, allocations: 0 / 2.854 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/6.689, allocations: 29.53 kB / 2.854 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005626/6.695, allocations: 3.351 MB / 2.857 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/6.696, allocations: 0.8223 MB / 2.858 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/6.697, allocations: 337.9 kB / 2.858 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/6.697, allocations: 486.8 kB / 2.859 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/6.698, allocations: 0.512 MB / 2.859 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=93): time 4.889e-06/6.698, allocations: 3.75 kB / 2.859 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=93): time 0.002402/6.701, allocations: 0.9023 MB / 2.86 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/6.701, allocations: 168.7 kB / 2.86 GB, free: 185 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/6.701, allocations: 0.544 MB / 2.861 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/6.702, allocations: 29.67 kB / 2.861 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/6.702, allocations: 406.8 kB / 2.861 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/6.702, allocations: 291.8 kB / 2.862 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/6.702, allocations: 0 / 2.862 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/6.702, allocations: 382.8 kB / 2.862 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/6.703, allocations: 283.8 kB / 2.862 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/6.703, allocations: 375.3 kB / 2.863 GB, free: 184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/6.704, allocations: 420 kB / 2.863 GB, free: 184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/6.704, allocations: 0 / 2.863 GB, free: 184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002209/6.706, allocations: 0.9536 MB / 2.864 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/6.706, allocations: 9.344 kB / 2.864 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/6.706, allocations: 0 / 2.864 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/6.707, allocations: 82.97 kB / 2.864 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/6.708, allocations: 200.9 kB / 2.864 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/6.71, allocations: 1.467 MB / 2.866 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/6.711, allocations: 77.09 kB / 2.866 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/6.711, allocations: 39.22 kB / 2.866 GB, free: 182.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0002104/6.711, allocations: 124 kB / 2.866 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/6.711, allocations: 89.7 kB / 2.866 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/6.715, allocations: 1.278 MB / 2.867 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/6.715, allocations: 9.125 kB / 2.867 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/6.715, allocations: 0 / 2.867 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/6.715, allocations: 3.422 kB / 2.867 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/6.719, allocations: 2.25 MB / 2.869 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/6.719, allocations: 3.906 kB / 2.869 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/6.72, allocations: 195 kB / 2.87 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/6.72, allocations: 86.08 kB / 2.87 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/6.72, allocations: 24.3 kB / 2.87 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/6.722, allocations: 1.475 MB / 2.871 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.722, allocations: 0 / 2.871 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002423/6.724, allocations: 1.076 MB / 2.872 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002523/6.727, allocations: 1.481 MB / 2.874 GB, free: 180 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/6.727, allocations: 343.6 kB / 2.874 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/6.728, allocations: 7.359 kB / 2.874 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008385/6.728, allocations: 62.34 kB / 2.874 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/6.729, allocations: 60.38 kB / 2.874 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/6.729, allocations: 38.81 kB / 2.874 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006374/6.729, allocations: 460.6 kB / 2.875 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002381/6.732, allocations: 479.1 kB / 2.875 GB, free: 179.7 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 (103): * Single equations (assignments): 100 * 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.001865/6.734, allocations: 1.022 MB / 2.876 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001694/6.735, allocations: 0.8533 MB / 2.877 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/6.735, allocations: 0 / 2.877 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008007/6.736, allocations: 0.53 MB / 2.877 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009798/6.737, allocations: 177.6 kB / 2.877 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/6.743, allocations: 1.646 MB / 2.879 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/6.744, allocations: 1.246 MB / 2.88 GB, free: 178 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/6.744, allocations: 0 / 2.88 GB, free: 178 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)