Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.8293/0.8293, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001181/0.001181, 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 2.088/2.088, 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.001002/0.001002, allocations: 84.42 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.375/0.3761, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.6094, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.96/6.569, allocations: 2.146 GB / 2.767 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.57, allocations: 101.9 kB / 2.767 GB, free: 65.43 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.1226/6.692, allocations: 55.81 MB / 2.822 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/6.692, allocations: 8 kB / 2.822 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/6.695, allocations: 322.4 kB / 2.822 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/6.696, allocations: 0.5296 MB / 2.823 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/6.696, allocations: 24 kB / 2.823 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/6.696, allocations: 44 kB / 2.823 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/6.698, allocations: 0.9992 MB / 2.824 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/6.699, allocations: 0.694 MB / 2.824 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/6.699, allocations: 3.984 kB / 2.824 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/6.699, allocations: 4 kB / 2.824 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/6.699, allocations: 16 kB / 2.824 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/6.704, allocations: 2.232 MB / 2.827 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/6.705, allocations: 0.7285 MB / 2.827 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/6.705, allocations: 266.7 kB / 2.828 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/6.706, allocations: 466.1 kB / 2.828 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006967/6.707, allocations: 402.9 kB / 2.828 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 5.36e-06/6.707, allocations: 0 / 2.828 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72): time 0.002051/6.709, allocations: 0.7185 MB / 2.829 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/6.709, allocations: 166.9 kB / 2.829 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/6.71, allocations: 449.3 kB / 2.83 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/6.71, allocations: 29.64 kB / 2.83 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/6.71, allocations: 268.5 kB / 2.83 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/6.71, allocations: 228.5 kB / 2.83 GB, free: 428 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/6.71, allocations: 7.938 kB / 2.83 GB, free: 420 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.71, allocations: 370.7 kB / 2.831 GB, free: 40 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3135/7.024, allocations: 192.3 kB / 2.831 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/7.024, allocations: 268.1 kB / 2.831 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/7.025, allocations: 318.2 kB / 2.831 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/7.025, allocations: 0 / 2.831 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001982/7.027, allocations: 0.7157 MB / 2.832 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/7.027, allocations: 10.77 kB / 2.832 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.027, allocations: 0 / 2.832 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/7.028, allocations: 78.23 kB / 2.832 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/7.029, allocations: 158 kB / 2.832 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/7.031, allocations: 1.444 MB / 2.834 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/7.031, allocations: 70.22 kB / 2.834 GB, free: 257 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/7.032, allocations: 25.69 kB / 2.834 GB, free: 257 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 (74): * Single equations (assignments): 73 * 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.0001821/7.032, allocations: 120.6 kB / 2.834 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/7.032, allocations: 70.81 kB / 2.834 GB, free: 256.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/7.034, allocations: 0.998 MB / 2.835 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/7.034, allocations: 11.62 kB / 2.835 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/7.034, allocations: 5.219 kB / 2.835 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/7.035, allocations: 3.75 kB / 2.835 GB, free: 256.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/7.038, allocations: 1.724 MB / 2.837 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/7.038, allocations: 0 / 2.837 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/7.038, allocations: 160.1 kB / 2.837 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/7.039, allocations: 80.59 kB / 2.837 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/7.039, allocations: 19.69 kB / 2.837 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/7.041, allocations: 1.472 MB / 2.838 GB, free: 255.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/7.041, allocations: 3.719 kB / 2.838 GB, free: 255.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002066/7.043, allocations: 0.8847 MB / 2.839 GB, free: 255.1 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002005/7.045, allocations: 1.296 MB / 2.84 GB, free: 254.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/7.045, allocations: 277.7 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/7.045, allocations: 8.844 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/7.046, allocations: 58.3 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/7.046, allocations: 47.88 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/7.046, allocations: 31.41 kB / 2.841 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004305/7.047, allocations: 359.9 kB / 2.841 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001795/7.048, allocations: 393.1 kB / 2.842 GB, free: 254.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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002058/7.051, allocations: 1.027 MB / 2.843 GB, free: 254.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001576/7.052, allocations: 0.6511 MB / 2.843 GB, free: 254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/7.052, allocations: 2.469 kB / 2.843 GB, free: 254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007443/7.053, allocations: 452.7 kB / 2.844 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/7.054, allocations: 171.2 kB / 2.844 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/7.058, allocations: 1.265 MB / 2.845 GB, free: 253.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/7.059, allocations: 1.091 MB / 2.846 GB, free: 252.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/7.059, allocations: 0 / 2.846 GB, free: 252.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)