Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.7566/0.7566, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001378/0.001378, allocations: 177.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 2.064/2.064, 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.001033/0.001033, allocations: 86.33 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3476/0.3487, allocations: 82.88 MB / 0.546 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.5426, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.694/6.237, allocations: 2.151 GB / 2.772 GB, free: 61.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/6.237, allocations: 91.94 kB / 2.772 GB, free: 60.97 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.7098/6.947, allocations: 98.19 MB / 2.868 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/6.947, allocations: 14.69 kB / 2.868 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/6.963, allocations: 2.161 MB / 2.87 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/6.967, allocations: 0.956 MB / 2.871 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/6.967, allocations: 62 kB / 2.871 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/6.967, allocations: 107.2 kB / 2.871 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005978/6.973, allocations: 2.798 MB / 2.874 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/6.978, allocations: 2.071 MB / 2.876 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/6.978, allocations: 0 / 2.876 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/6.978, allocations: 2.156 kB / 2.876 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/6.978, allocations: 44.59 kB / 2.876 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/6.999, allocations: 6.19 MB / 2.882 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/7.003, allocations: 1.858 MB / 2.884 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/7.005, allocations: 0.9988 MB / 2.885 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009916/7.006, allocations: 0.4982 MB / 2.885 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/7.009, allocations: 1.259 MB / 2.886 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=192): time 6.662e-06/7.009, allocations: 0 / 2.886 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192): time 0.006785/7.016, allocations: 2.247 MB / 2.888 GB, free: 181 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/7.016, allocations: 180.1 kB / 2.889 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/7.018, allocations: 0.5968 MB / 2.889 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/7.018, allocations: 27.08 kB / 2.889 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/7.018, allocations: 0.5051 MB / 2.89 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006663/7.019, allocations: 0.5971 MB / 2.89 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/7.019, allocations: 1.344 kB / 2.89 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002227/7.019, allocations: 413.1 kB / 2.891 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/7.021, allocations: 0.76 MB / 2.891 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/7.023, allocations: 0.9136 MB / 2.892 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/7.026, allocations: 1.058 MB / 2.893 GB, free: 178 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/7.026, allocations: 1.219 kB / 2.893 GB, free: 178 MB / 0.6355 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006551/7.033, allocations: 2.296 MB / 2.896 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/7.033, allocations: 5.969 kB / 2.896 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/7.033, allocations: 6.516 kB / 2.896 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/7.034, allocations: 82.16 kB / 2.896 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/7.038, allocations: 0.5712 MB / 2.896 GB, free: 176.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/7.04, allocations: 1.451 MB / 2.898 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/7.044, allocations: 290.8 kB / 2.898 GB, free: 175.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/7.044, allocations: 83.16 kB / 2.898 GB, free: 175.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0005463/7.045, allocations: 134.4 kB / 2.898 GB, free: 175 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/7.045, allocations: 130.6 kB / 2.898 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008839/7.054, allocations: 2.913 MB / 2.901 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/7.054, allocations: 20.06 kB / 2.901 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/7.054, allocations: 10.98 kB / 2.901 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/7.054, allocations: 7.969 kB / 2.901 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/7.068, allocations: 4.806 MB / 2.906 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/7.068, allocations: 0 / 2.906 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004185/7.072, allocations: 0.5438 MB / 2.906 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007007/7.073, allocations: 88.02 kB / 2.906 GB, free: 170 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003787/7.073, allocations: 47.45 kB / 2.907 GB, free: 170 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/7.075, allocations: 1.477 MB / 2.908 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/7.075, allocations: 0 / 2.908 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008102/7.083, allocations: 2.417 MB / 2.91 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007873/7.091, allocations: 2.83 MB / 2.913 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/7.093, allocations: 0.533 MB / 2.914 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006747/7.094, allocations: 1.594 kB / 2.914 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/7.097, allocations: 235.7 kB / 2.914 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/7.098, allocations: 97.84 kB / 2.914 GB, free: 165 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/7.098, allocations: 86.34 kB / 2.914 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00117/7.099, allocations: 0.507 MB / 2.915 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003871/7.103, allocations: 0.6096 MB / 2.915 GB, free: 163.8 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 (202): * Single equations (assignments): 199 * 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.002656/7.106, allocations: 1.038 MB / 2.916 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004522/7.11, allocations: 2.096 MB / 2.918 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/7.11, allocations: 4 kB / 2.918 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/7.113, allocations: 1.222 MB / 2.919 GB, free: 159.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/7.114, allocations: 193.1 kB / 2.92 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/7.124, allocations: 2.677 MB / 2.922 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002969/7.127, allocations: 1.577 MB / 2.924 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.294e-06/7.127, allocations: 4 kB / 2.924 GB, free: 155.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)