Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.7513/0.7513, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001163/0.001163, allocations: 181.3 kB / 164.4 MB, free: 6.867 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.999/1.999, 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.001027/0.001026, allocations: 96.41 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3409/0.342, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.5299, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.668/6.198, allocations: 2.147 GB / 2.768 GB, free: 64.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.199, allocations: 83.95 kB / 2.768 GB, free: 64.05 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.5776/6.776, allocations: 78.28 MB / 2.845 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/6.776, allocations: 11.41 kB / 2.845 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/6.779, allocations: 363.1 kB / 2.845 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/6.78, allocations: 0.6274 MB / 2.846 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/6.78, allocations: 34.25 kB / 2.846 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/6.78, allocations: 67.38 kB / 2.846 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001744/6.782, allocations: 1.144 MB / 2.847 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/6.783, allocations: 0.9001 MB / 2.848 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/6.783, allocations: 3.438 kB / 2.848 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/6.783, allocations: 3.812 kB / 2.848 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/6.783, allocations: 26 kB / 2.848 GB, free: 184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/6.789, allocations: 2.795 MB / 2.851 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/6.79, allocations: 0.705 MB / 2.851 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/6.791, allocations: 283.5 kB / 2.852 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/6.791, allocations: 476.2 kB / 2.852 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006218/6.792, allocations: 414.8 kB / 2.852 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 5.601e-06/6.792, allocations: 2.531 kB / 2.852 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.002263/6.794, allocations: 0.7571 MB / 2.853 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/6.794, allocations: 166.7 kB / 2.853 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/6.795, allocations: 500 kB / 2.854 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/6.795, allocations: 29.61 kB / 2.854 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/6.795, allocations: 395.2 kB / 2.854 GB, free: 182 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/6.795, allocations: 244.2 kB / 2.854 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/6.796, allocations: 0 / 2.854 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001252/6.796, allocations: 376.2 kB / 2.855 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/6.796, allocations: 221.9 kB / 2.855 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/6.796, allocations: 294.3 kB / 2.855 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/6.797, allocations: 337 kB / 2.856 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/6.797, allocations: 0 / 2.856 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001977/6.799, allocations: 0.7843 MB / 2.856 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/6.799, allocations: 2.875 kB / 2.856 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/6.799, allocations: 0 / 2.856 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/6.8, allocations: 88.52 kB / 2.856 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/6.801, allocations: 160.6 kB / 2.857 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/6.803, allocations: 1.454 MB / 2.858 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/6.803, allocations: 67.34 kB / 2.858 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/6.804, allocations: 37.44 kB / 2.858 GB, free: 180.1 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 (83): * Single equations (assignments): 82 * 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.0001971/6.804, allocations: 119.7 kB / 2.858 GB, free: 180 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/6.804, allocations: 74.38 kB / 2.858 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/6.807, allocations: 1.02 MB / 2.859 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/6.807, allocations: 8.609 kB / 2.859 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/6.807, allocations: 3.375 kB / 2.859 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/6.807, allocations: 5.75 kB / 2.859 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/6.808, allocations: 0.8153 MB / 2.86 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/6.808, allocations: 0 / 2.86 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000833/6.809, allocations: 156.2 kB / 2.86 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/6.81, allocations: 88.44 kB / 2.86 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/6.81, allocations: 13.25 kB / 2.86 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/6.811, allocations: 1.481 MB / 2.862 GB, free: 178.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.811, allocations: 0.6562 kB / 2.862 GB, free: 178.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002058/6.813, allocations: 0.8572 MB / 2.863 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002128/6.816, allocations: 1.261 MB / 2.864 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/6.816, allocations: 280.8 kB / 2.864 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/6.816, allocations: 2.719 kB / 2.864 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/6.817, allocations: 62.39 kB / 2.864 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/6.817, allocations: 49.84 kB / 2.864 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/6.817, allocations: 36.81 kB / 2.864 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004917/6.818, allocations: 393.4 kB / 2.865 GB, free: 177.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001987/6.82, allocations: 438.9 kB / 2.865 GB, free: 177.5 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 (85): * Single equations (assignments): 82 * 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.001707/6.821, allocations: 1.031 MB / 2.866 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001397/6.823, allocations: 0.6987 MB / 2.867 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/6.823, allocations: 0 / 2.867 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/6.823, allocations: 467.5 kB / 2.867 GB, free: 177 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009646/6.824, allocations: 178.9 kB / 2.867 GB, free: 177 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/6.828, allocations: 1.476 MB / 2.869 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009628/6.829, allocations: 1.184 MB / 2.87 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/6.829, allocations: 0 / 2.87 GB, free: 175.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)