Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") [: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.001344/0.001344, allocations: 187.3 kB / 7.803 MB, free: 2.285 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5026/0.5026, allocations: 90.86 MB / 99.08 MB, free: 14.79 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.314/1.314, allocations: 221.4 MB / 342.8 MB, free: 5.008 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.0009215/0.0009215, allocations: 104.2 kB / 415.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.725e-06/7.745e-06, allocations: 0 / 493.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4565, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.627/4.083, allocations: 1.688 GB / 2.241 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/4.083, allocations: 79.95 kB / 2.241 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.2584/4.342, allocations: 119.5 MB / 2.358 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001715/4.342, allocations: 56 kB / 2.358 GB, free: 19.04 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.00635/4.348, allocations: 2.33 MB / 2.36 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/4.348, allocations: 8.031 kB / 2.36 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/4.363, allocations: 2.181 MB / 2.363 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/4.367, allocations: 1.332 MB / 2.364 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/4.367, allocations: 84 kB / 2.364 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/4.368, allocations: 140 kB / 2.364 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007161/4.375, allocations: 3.411 MB / 2.367 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/4.38, allocations: 2.7 MB / 2.37 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/4.38, allocations: 3.938 kB / 2.37 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/4.38, allocations: 0 / 2.37 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/4.38, allocations: 64 kB / 2.37 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2359/4.616, allocations: 9.33 MB / 2.379 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/4.619, allocations: 2.173 MB / 2.381 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/4.621, allocations: 1.182 MB / 2.382 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/4.622, allocations: 0.515 MB / 2.383 GB, free: 214.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/4.624, allocations: 1.458 MB / 2.384 GB, free: 214.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=222): time 4.869e-06/4.624, allocations: 6.344 kB / 2.384 GB, free: 214.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222): time 0.005524/4.629, allocations: 2.607 MB / 2.387 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/4.629, allocations: 259.1 kB / 2.387 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/4.631, allocations: 0.7778 MB / 2.388 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/4.631, allocations: 28.64 kB / 2.388 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/4.631, allocations: 0.6946 MB / 2.389 GB, free: 213.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/4.632, allocations: 0.6955 MB / 2.389 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/4.632, allocations: 0 / 2.389 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000116/4.632, allocations: 377.3 kB / 2.39 GB, free: 213.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/4.634, allocations: 0.9348 MB / 2.391 GB, free: 213.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/4.635, allocations: 1.12 MB / 2.392 GB, free: 213 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/4.638, allocations: 1.227 MB / 2.393 GB, free: 213 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/4.638, allocations: 0 / 2.393 GB, free: 213 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005407/4.643, allocations: 2.687 MB / 2.396 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/4.643, allocations: 6.938 kB / 2.396 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/4.643, allocations: 4.5 kB / 2.396 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/4.644, allocations: 93.78 kB / 2.396 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/4.648, allocations: 0.6315 MB / 2.396 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/4.65, allocations: 1.466 MB / 2.398 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/4.653, allocations: 320.4 kB / 2.398 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/4.653, allocations: 103.1 kB / 2.398 GB, free: 211.6 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 (239): * Single equations (assignments): 238 * 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.000579/4.654, allocations: 132.2 kB / 2.398 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/4.654, allocations: 152.2 kB / 2.398 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009501/4.664, allocations: 3.404 MB / 2.402 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/4.664, allocations: 20.88 kB / 2.402 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/4.664, allocations: 3.219 kB / 2.402 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/4.664, allocations: 11.44 kB / 2.402 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/4.676, allocations: 6.055 MB / 2.408 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/4.677, allocations: 3.328 kB / 2.408 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003963/4.681, allocations: 0.6087 MB / 2.408 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/4.681, allocations: 92.94 kB / 2.408 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003279/4.681, allocations: 51 kB / 2.408 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/4.683, allocations: 1.481 MB / 2.41 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/4.683, allocations: 0 / 2.41 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00652/4.69, allocations: 2.783 MB / 2.413 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/4.691, allocations: 0.6591 MB / 2.413 GB, free: 209.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006721/4.692, allocations: 3.656 kB / 2.413 GB, free: 209.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/4.695, allocations: 252.7 kB / 2.413 GB, free: 209.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/4.696, allocations: 130.2 kB / 2.414 GB, free: 209.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/4.696, allocations: 90.77 kB / 2.414 GB, free: 209.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00133/4.697, allocations: 0.664 MB / 2.414 GB, free: 209 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002941/4.7, allocations: 0.6893 MB / 2.415 GB, free: 208.9 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 (240): * Single equations (assignments): 237 * 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.002453/4.703, allocations: 1.086 MB / 2.416 GB, free: 208.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005029/4.708, allocations: 2.494 MB / 2.418 GB, free: 208.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/4.708, allocations: 3.469 kB / 2.418 GB, free: 208.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/4.71, allocations: 1.428 MB / 2.42 GB, free: 208.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/4.712, allocations: 246.2 kB / 2.42 GB, free: 208.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/4.723, allocations: 3.425 MB / 2.423 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003595/4.727, allocations: 1.843 MB / 2.425 GB, free: 207.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.472e-06/4.727, allocations: 0 / 2.425 GB, free: 207.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.08108/4.808, allocations: 41.39 MB / 2.466 GB, free: 202.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)