Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 184.8 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4531/0.4531, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.4 MB / 342.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 95.36 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.624e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4803, allocations: 72.3 MB / 0.5529 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.357/3.838, allocations: 1.688 GB / 2.241 GB, free: 141 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/3.838, allocations: 86.47 kB / 2.241 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.2164/4.055, allocations: 100.2 MB / 2.339 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001453/4.055, allocations: 44 kB / 2.339 GB, free: 40.63 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004947/4.06, allocations: 2.005 MB / 2.341 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/4.06, allocations: 8.031 kB / 2.341 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/4.073, allocations: 2.131 MB / 2.343 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/4.075, allocations: 1.052 MB / 2.344 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/4.075, allocations: 64 kB / 2.344 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/4.076, allocations: 112 kB / 2.344 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004426/4.08, allocations: 2.866 MB / 2.347 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/4.083, allocations: 2.174 MB / 2.349 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/4.083, allocations: 3.938 kB / 2.349 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/4.084, allocations: 4 kB / 2.349 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/4.084, allocations: 48 kB / 2.349 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/4.097, allocations: 6.879 MB / 2.356 GB, free: 22.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/4.1, allocations: 1.843 MB / 2.357 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/4.101, allocations: 1.005 MB / 2.358 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/4.102, allocations: 0.5072 MB / 2.359 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/4.103, allocations: 1.254 MB / 2.36 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=195): time 3.256e-06/4.103, allocations: 0 / 2.36 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195): time 0.004678/4.108, allocations: 2.234 MB / 2.362 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/4.108, allocations: 257.3 kB / 2.363 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/4.109, allocations: 0.6426 MB / 2.363 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/4.109, allocations: 29.7 kB / 2.363 GB, free: 15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/4.109, allocations: 0.5472 MB / 2.364 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/4.11, allocations: 0.5963 MB / 2.364 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/4.11, allocations: 4 kB / 2.364 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001173/4.11, allocations: 426.7 kB / 2.365 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/4.111, allocations: 0.7655 MB / 2.365 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/4.112, allocations: 0.9463 MB / 2.366 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/4.114, allocations: 1.036 MB / 2.367 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/4.114, allocations: 0 / 2.367 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004451/4.119, allocations: 2.285 MB / 2.37 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/4.119, allocations: 5.875 kB / 2.37 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.119, allocations: 4 kB / 2.37 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/4.119, allocations: 84.84 kB / 2.37 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/4.123, allocations: 0.5773 MB / 2.37 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/4.125, allocations: 1.472 MB / 2.372 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/4.128, allocations: 298.6 kB / 2.372 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/4.128, allocations: 91.89 kB / 2.372 GB, free: 5.676 MB / 0.6042 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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.0003987/4.128, allocations: 141.1 kB / 2.372 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/4.129, allocations: 122.5 kB / 2.372 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/4.135, allocations: 2.922 MB / 2.375 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/4.135, allocations: 24 kB / 2.375 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/4.135, allocations: 3.906 kB / 2.375 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/4.135, allocations: 11.95 kB / 2.375 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2092/4.344, allocations: 4.891 MB / 2.38 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/4.344, allocations: 2.156 kB / 2.38 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/4.348, allocations: 0.5659 MB / 2.381 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/4.349, allocations: 88.27 kB / 2.381 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/4.349, allocations: 45.61 kB / 2.381 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/4.35, allocations: 1.48 MB / 2.382 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/4.35, allocations: 2.656 kB / 2.382 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005301/4.356, allocations: 2.428 MB / 2.384 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/4.357, allocations: 0.5257 MB / 2.385 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/4.357, allocations: 3.344 kB / 2.385 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/4.36, allocations: 250.2 kB / 2.385 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/4.36, allocations: 113.4 kB / 2.385 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/4.36, allocations: 83.83 kB / 2.385 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007106/4.361, allocations: 0.5348 MB / 2.386 GB, free: 222.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001876/4.363, allocations: 0.5908 MB / 2.387 GB, free: 222.5 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.001874/4.365, allocations: 1.092 MB / 2.388 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00405/4.369, allocations: 2.13 MB / 2.39 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/4.369, allocations: 0 / 2.39 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/4.371, allocations: 1.244 MB / 2.391 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/4.373, allocations: 230.1 kB / 2.391 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/4.381, allocations: 2.833 MB / 2.394 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002157/4.383, allocations: 1.654 MB / 2.396 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/4.383, allocations: 0 / 2.396 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.06057/4.444, allocations: 36.73 MB / 2.431 GB, free: 219.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)