Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.003285/0.003285, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6955/0.6955, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 97.09 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.536e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.312/4.541, allocations: 1.693 GB / 2.327 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/4.541, allocations: 94.02 kB / 2.327 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1506/4.691, allocations: 68.86 MB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001031/4.692, allocations: 24 kB / 2.394 GB, free: 203.6 MB / 0.6823 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.002656/4.694, allocations: 1.145 MB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/4.694, allocations: 12.02 kB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/4.696, allocations: 226.4 kB / 2.395 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/4.697, allocations: 0.6231 MB / 2.396 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/4.697, allocations: 36 kB / 2.396 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/4.697, allocations: 48 kB / 2.396 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/4.699, allocations: 1.023 MB / 2.397 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/4.7, allocations: 0.7809 MB / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/4.7, allocations: 0 / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.774e-05/4.7, allocations: 0 / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/4.7, allocations: 27.98 kB / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/4.704, allocations: 2.359 MB / 2.4 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/4.706, allocations: 0.7869 MB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/4.706, allocations: 246.8 kB / 2.401 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/4.706, allocations: 28.69 kB / 2.401 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/4.707, allocations: 382.1 kB / 2.401 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/4.707, allocations: 0 / 2.401 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001574/4.708, allocations: 0.6365 MB / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/4.709, allocations: 244 kB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/4.709, allocations: 0.4943 MB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/4.709, allocations: 33.64 kB / 2.403 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/4.709, allocations: 320 kB / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/4.71, allocations: 228.5 kB / 2.403 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/4.71, allocations: 4 kB / 2.403 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/4.71, allocations: 378.7 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/4.71, allocations: 193.3 kB / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/4.71, allocations: 286.4 kB / 2.404 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/4.711, allocations: 243 kB / 2.404 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/4.711, allocations: 0 / 2.404 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001387/4.712, allocations: 0.6483 MB / 2.405 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/4.712, allocations: 4 kB / 2.405 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/4.712, allocations: 3.984 kB / 2.405 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/4.713, allocations: 84.78 kB / 2.405 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/4.713, allocations: 139.8 kB / 2.405 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/4.715, allocations: 1.453 MB / 2.407 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/4.716, allocations: 71.59 kB / 2.407 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/4.716, allocations: 23.98 kB / 2.407 GB, free: 190 MB / 0.6823 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.0001517/4.716, allocations: 122.5 kB / 2.407 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/4.716, allocations: 71.09 kB / 2.407 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/4.718, allocations: 0.9205 MB / 2.408 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/4.718, allocations: 8 kB / 2.408 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/4.718, allocations: 0 / 2.408 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/4.718, allocations: 7.969 kB / 2.408 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/4.721, allocations: 1.716 MB / 2.41 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/4.721, allocations: 0 / 2.41 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/4.721, allocations: 151.8 kB / 2.41 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/4.722, allocations: 80.78 kB / 2.41 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/4.722, allocations: 15.98 kB / 2.41 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/4.723, allocations: 1.484 MB / 2.411 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/4.723, allocations: 0 / 2.411 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001336/4.725, allocations: 0.8128 MB / 2.412 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/4.725, allocations: 279.8 kB / 2.412 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/4.725, allocations: 3.984 kB / 2.412 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/4.726, allocations: 59.95 kB / 2.412 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/4.726, allocations: 56.59 kB / 2.412 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/4.726, allocations: 27.98 kB / 2.412 GB, free: 184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004618/4.726, allocations: 402.9 kB / 2.413 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001137/4.728, allocations: 343 kB / 2.413 GB, free: 183.2 MB / 0.6823 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.001702/4.729, allocations: 1.051 MB / 2.414 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001102/4.73, allocations: 0.6467 MB / 2.415 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/4.73, allocations: 0 / 2.415 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/4.731, allocations: 448.8 kB / 2.415 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/4.732, allocations: 212.9 kB / 2.415 GB, free: 181 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/4.735, allocations: 1.389 MB / 2.417 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/4.736, allocations: 1.138 MB / 2.418 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/4.736, allocations: 0 / 2.418 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.0253/4.761, allocations: 16.84 MB / 2.434 GB, free: 161.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)