Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.001026/0.001026, allocations: 191.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4324/0.4324, allocations: 90.86 MB / 99.08 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.141/1.141, allocations: 221.4 MB / 342.7 MB, free: 5.457 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.0008655/0.0008655, allocations: 94.22 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3275, allocations: 72.31 MB / 0.5529 GB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.544/3.871, allocations: 1.684 GB / 2.237 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004645/3.872, allocations: 96.84 kB / 2.237 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1547/4.026, allocations: 68.88 MB / 2.304 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001105/4.027, allocations: 24 kB / 2.304 GB, free: 61.22 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002804/4.029, allocations: 1.149 MB / 2.305 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/4.03, allocations: 8.031 kB / 2.305 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/4.031, allocations: 222.4 kB / 2.305 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/4.033, allocations: 0.6231 MB / 2.306 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/4.033, allocations: 32 kB / 2.306 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/4.033, allocations: 56 kB / 2.306 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002035/4.035, allocations: 1.026 MB / 2.307 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/4.037, allocations: 0.777 MB / 2.308 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/4.037, allocations: 4 kB / 2.308 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/4.037, allocations: 3.984 kB / 2.308 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/4.037, allocations: 24 kB / 2.308 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/4.041, allocations: 2.336 MB / 2.31 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/4.043, allocations: 0.7869 MB / 2.311 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/4.043, allocations: 250.8 kB / 2.311 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/4.043, allocations: 32.69 kB / 2.311 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/4.044, allocations: 374.1 kB / 2.312 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 4.569e-06/4.044, allocations: 0 / 2.312 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001478/4.045, allocations: 0.6481 MB / 2.312 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/4.045, allocations: 244 kB / 2.312 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/4.046, allocations: 498.3 kB / 2.313 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/4.046, allocations: 29.7 kB / 2.313 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/4.046, allocations: 328 kB / 2.313 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/4.046, allocations: 236.4 kB / 2.313 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/4.046, allocations: 0 / 2.313 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/4.046, allocations: 378.8 kB / 2.314 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/4.046, allocations: 189.3 kB / 2.314 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/4.047, allocations: 290.4 kB / 2.314 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/4.047, allocations: 243 kB / 2.315 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/4.047, allocations: 0 / 2.315 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001295/4.048, allocations: 0.6482 MB / 2.315 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/4.048, allocations: 8 kB / 2.315 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/4.048, allocations: 0 / 2.315 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/4.049, allocations: 80.84 kB / 2.315 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/4.05, allocations: 143.8 kB / 2.315 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/4.051, allocations: 1.449 MB / 2.317 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/4.052, allocations: 71.59 kB / 2.317 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/4.052, allocations: 23.98 kB / 2.317 GB, free: 47.57 MB / 0.6042 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.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 (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.0001596/4.052, allocations: 128.9 kB / 2.317 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/4.052, allocations: 67.16 kB / 2.317 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/4.054, allocations: 0.9165 MB / 2.318 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/4.054, allocations: 11.98 kB / 2.318 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/4.054, allocations: 0 / 2.318 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/4.054, allocations: 3.984 kB / 2.318 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/4.057, allocations: 1.709 MB / 2.32 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/4.057, allocations: 0 / 2.32 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/4.057, allocations: 147.8 kB / 2.32 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/4.058, allocations: 88.77 kB / 2.32 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/4.058, allocations: 15.98 kB / 2.32 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/4.059, allocations: 1.476 MB / 2.321 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.059, allocations: 0 / 2.321 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001264/4.061, allocations: 0.8206 MB / 2.322 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/4.061, allocations: 271.9 kB / 2.322 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/4.061, allocations: 7.938 kB / 2.322 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/4.062, allocations: 63.86 kB / 2.322 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/4.062, allocations: 48.69 kB / 2.323 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/4.062, allocations: 31.98 kB / 2.323 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003957/4.062, allocations: 402.9 kB / 2.323 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00105/4.063, allocations: 346.9 kB / 2.323 GB, free: 40.82 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 (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.001575/4.065, allocations: 1.05 MB / 2.324 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001072/4.066, allocations: 0.6391 MB / 2.325 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/4.066, allocations: 4 kB / 2.325 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/4.067, allocations: 456.6 kB / 2.325 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/4.068, allocations: 196.5 kB / 2.326 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/4.071, allocations: 1.378 MB / 2.327 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/4.072, allocations: 1.142 MB / 2.328 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of SimCode: time 9.41e-07/4.072, allocations: 0 / 2.328 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.02562/4.097, allocations: 16.87 MB / 2.344 GB, free: 19.16 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)