Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.8162/0.8162, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001597/0.001597, allocations: 185.3 kB / 164.4 MB, free: 6.891 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.974/1.974, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.001016/0.001016, allocations: 95.25 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3271/0.3282, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.516, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.994/5.51, allocations: 2.147 GB / 2.768 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/5.511, allocations: 95.94 kB / 2.769 GB, free: 64.61 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.1326/5.643, allocations: 56.48 MB / 2.824 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/5.643, allocations: 8 kB / 2.824 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/5.646, allocations: 334.4 kB / 2.824 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/5.647, allocations: 0.5549 MB / 2.825 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/5.647, allocations: 75.62 kB / 2.825 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/5.648, allocations: 47.91 kB / 2.825 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001788/5.649, allocations: 1.019 MB / 2.826 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/5.651, allocations: 0.7134 MB / 2.826 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/5.651, allocations: 0 / 2.826 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/5.651, allocations: 8 kB / 2.826 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/5.651, allocations: 16 kB / 2.826 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/5.656, allocations: 2.283 MB / 2.829 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/5.658, allocations: 0.7924 MB / 2.829 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/5.658, allocations: 270.7 kB / 2.83 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/5.659, allocations: 478.1 kB / 2.83 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/5.66, allocations: 410.8 kB / 2.83 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 4.589e-06/5.66, allocations: 0 / 2.83 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.3005/5.96, allocations: 0.7412 MB / 2.831 GB, free: 263.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/5.96, allocations: 170.3 kB / 2.831 GB, free: 263.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/5.961, allocations: 454.5 kB / 2.832 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/5.962, allocations: 25.7 kB / 2.832 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/5.962, allocations: 285.1 kB / 2.832 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/5.962, allocations: 238.5 kB / 2.832 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/5.962, allocations: 3.906 kB / 2.832 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/5.962, allocations: 365 kB / 2.833 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/5.963, allocations: 200.8 kB / 2.833 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/5.963, allocations: 283 kB / 2.833 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/5.964, allocations: 322 kB / 2.833 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/5.964, allocations: 3.969 kB / 2.833 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00198/5.966, allocations: 0.744 MB / 2.834 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/5.966, allocations: 3.938 kB / 2.834 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/5.966, allocations: 2.188 kB / 2.834 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/5.967, allocations: 86 kB / 2.834 GB, free: 262.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/5.967, allocations: 170 kB / 2.834 GB, free: 262.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/5.969, allocations: 1.449 MB / 2.836 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/5.97, allocations: 69.03 kB / 2.836 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/5.97, allocations: 29.34 kB / 2.836 GB, free: 261 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 (78): * Single equations (assignments): 77 * 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.0001812/5.97, allocations: 124.1 kB / 2.836 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/5.97, allocations: 70.38 kB / 2.836 GB, free: 260.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/5.973, allocations: 1.042 MB / 2.837 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/5.973, allocations: 15.62 kB / 2.837 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/5.973, allocations: 3.906 kB / 2.837 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/5.973, allocations: 7.406 kB / 2.837 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/5.976, allocations: 1.771 MB / 2.839 GB, free: 260.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/5.976, allocations: 3.219 kB / 2.839 GB, free: 260.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/5.977, allocations: 174.4 kB / 2.839 GB, free: 260.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/5.978, allocations: 87.19 kB / 2.839 GB, free: 260.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/5.978, allocations: 15.19 kB / 2.839 GB, free: 260.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/5.98, allocations: 1.481 MB / 2.841 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/5.98, allocations: 3.656 kB / 2.841 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002019/5.982, allocations: 0.9246 MB / 2.842 GB, free: 259 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002062/5.984, allocations: 1.329 MB / 2.843 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/5.984, allocations: 282.4 kB / 2.843 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/5.984, allocations: 3.438 kB / 2.843 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/5.985, allocations: 63.83 kB / 2.843 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/5.985, allocations: 58.09 kB / 2.843 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/5.985, allocations: 32.69 kB / 2.843 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004374/5.986, allocations: 366.2 kB / 2.844 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001812/5.987, allocations: 393.3 kB / 2.844 GB, free: 258.2 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 (89): * Single equations (assignments): 86 * 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.001775/5.989, allocations: 1.02 MB / 2.845 GB, free: 258.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001415/5.991, allocations: 0.6804 MB / 2.846 GB, free: 258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.991, allocations: 0 / 2.846 GB, free: 258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007019/5.991, allocations: 474.9 kB / 2.846 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/5.992, allocations: 166.8 kB / 2.846 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/5.996, allocations: 1.312 MB / 2.848 GB, free: 257.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/5.997, allocations: 1.112 MB / 2.849 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/5.997, allocations: 0 / 2.849 GB, free: 256.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)