Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.7229/0.7229, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001161/0.001161, allocations: 173.3 kB / 164.4 MB, free: 6.895 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.683/1.683, allocations: 205.1 MB / 399.1 MB, free: 6.07 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: 85.73 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3338/0.3348, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.5175, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/6.261, allocations: 2.147 GB / 2.768 GB, free: 64.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/6.261, allocations: 95.94 kB / 2.768 GB, free: 64.42 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.5053/6.767, allocations: 65.2 MB / 2.832 GB, free: 264.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/6.767, allocations: 7.906 kB / 2.832 GB, free: 264.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/6.769, allocations: 368.6 kB / 2.832 GB, free: 264.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/6.77, allocations: 0.548 MB / 2.833 GB, free: 264.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/6.77, allocations: 30.78 kB / 2.833 GB, free: 264.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/6.77, allocations: 46 kB / 2.833 GB, free: 264.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001522/6.772, allocations: 1.046 MB / 2.834 GB, free: 264.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/6.773, allocations: 0.7605 MB / 2.834 GB, free: 264.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/6.773, allocations: 3 kB / 2.834 GB, free: 264.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/6.773, allocations: 3.875 kB / 2.834 GB, free: 264.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/6.773, allocations: 19.09 kB / 2.834 GB, free: 264.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/6.777, allocations: 2.388 MB / 2.837 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/6.778, allocations: 0.6775 MB / 2.837 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/6.779, allocations: 262.9 kB / 2.838 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/6.779, allocations: 473.5 kB / 2.838 GB, free: 262.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/6.78, allocations: 407.8 kB / 2.839 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.447e-06/6.78, allocations: 2.531 kB / 2.839 GB, free: 262.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002544/6.783, allocations: 0.7937 MB / 2.839 GB, free: 262.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/6.783, allocations: 164.3 kB / 2.839 GB, free: 262.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/6.784, allocations: 458.7 kB / 2.84 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/6.784, allocations: 25.7 kB / 2.84 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/6.784, allocations: 303.7 kB / 2.84 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/6.784, allocations: 231.6 kB / 2.84 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/6.784, allocations: 2.516 kB / 2.84 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/6.784, allocations: 371.3 kB / 2.841 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/6.785, allocations: 200.7 kB / 2.841 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/6.785, allocations: 279.5 kB / 2.841 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/6.786, allocations: 380.2 kB / 2.842 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/6.786, allocations: 0 / 2.842 GB, free: 261.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002174/6.788, allocations: 0.7953 MB / 2.842 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/6.788, allocations: 3.906 kB / 2.842 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/6.788, allocations: 3.719 kB / 2.842 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/6.789, allocations: 88.8 kB / 2.842 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/6.79, allocations: 146.8 kB / 2.843 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/6.792, allocations: 1.454 MB / 2.844 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/6.792, allocations: 71.5 kB / 2.844 GB, free: 260.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/6.793, allocations: 23.19 kB / 2.844 GB, free: 260.4 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 (75): * Single equations (assignments): 74 * 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.0002017/6.793, allocations: 123.3 kB / 2.844 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/6.793, allocations: 71.31 kB / 2.844 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/6.796, allocations: 1.071 MB / 2.845 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/6.796, allocations: 7.094 kB / 2.845 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/6.796, allocations: 7.234 kB / 2.845 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/6.796, allocations: 2.859 kB / 2.845 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/6.797, allocations: 0.7342 MB / 2.846 GB, free: 260 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/6.797, allocations: 6.469 kB / 2.846 GB, free: 260 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/6.798, allocations: 150.4 kB / 2.846 GB, free: 260 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/6.798, allocations: 83.36 kB / 2.846 GB, free: 260 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/6.798, allocations: 13.69 kB / 2.846 GB, free: 260 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/6.8, allocations: 1.476 MB / 2.848 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/6.8, allocations: 2.562 kB / 2.848 GB, free: 258.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00218/6.802, allocations: 0.8799 MB / 2.849 GB, free: 258.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002231/6.805, allocations: 1.297 MB / 2.85 GB, free: 258.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/6.805, allocations: 271.2 kB / 2.85 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/6.805, allocations: 6.516 kB / 2.85 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/6.806, allocations: 59.2 kB / 2.85 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/6.806, allocations: 48.48 kB / 2.85 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/6.806, allocations: 31.5 kB / 2.85 GB, free: 258 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004752/6.806, allocations: 365.2 kB / 2.851 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001919/6.808, allocations: 403.4 kB / 2.851 GB, free: 257.9 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.001867/6.81, allocations: 1.029 MB / 2.852 GB, free: 257.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001373/6.812, allocations: 0.6685 MB / 2.853 GB, free: 257.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/6.812, allocations: 0 / 2.853 GB, free: 257.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/6.812, allocations: 442.5 kB / 2.853 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/6.813, allocations: 171.8 kB / 2.853 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/6.817, allocations: 1.318 MB / 2.855 GB, free: 257.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009773/6.818, allocations: 1.12 MB / 2.856 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/6.818, allocations: 0 / 2.856 GB, free: 256.5 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)