Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.003947/0.003947, allocations: 173 kB / 7.448 MB, free: 2.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7023/0.7023, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.633/1.633, allocations: 221.3 MB / 395 MB, free: 10.19 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.001127/0.001127, allocations: 94.41 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.058e-05, allocations: 2.531 kB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.791/4.014, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.014, allocations: 93.03 kB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.127/4.141, allocations: 59.24 MB / 2.384 GB, free: 214 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.754e-05/4.142, allocations: 27.92 kB / 2.384 GB, free: 214 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001579/4.143, allocations: 1.093 MB / 2.385 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/4.143, allocations: 8.031 kB / 2.385 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008606/4.144, allocations: 202.6 kB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/4.145, allocations: 0.6114 MB / 2.386 GB, free: 212 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/4.145, allocations: 24 kB / 2.386 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/4.145, allocations: 44 kB / 2.386 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/4.146, allocations: 0.9679 MB / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/4.147, allocations: 0.7116 MB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/4.147, allocations: 0 / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/4.147, allocations: 7.906 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/4.147, allocations: 20 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/4.15, allocations: 2.251 MB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/4.151, allocations: 0.6231 MB / 2.391 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/4.151, allocations: 238.7 kB / 2.391 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/4.151, allocations: 36.75 kB / 2.391 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/4.152, allocations: 362.1 kB / 2.391 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 2.565e-06/4.152, allocations: 7.984 kB / 2.391 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001324/4.153, allocations: 0.6247 MB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/4.153, allocations: 248 kB / 2.392 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/4.153, allocations: 0.4983 MB / 2.393 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/4.154, allocations: 25.7 kB / 2.393 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/4.154, allocations: 296.1 kB / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/4.154, allocations: 220.7 kB / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/4.154, allocations: 0 / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/4.154, allocations: 378.8 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/4.154, allocations: 185.3 kB / 2.394 GB, free: 204 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/4.154, allocations: 282.4 kB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/4.155, allocations: 239 kB / 2.394 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/4.155, allocations: 0 / 2.394 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001278/4.156, allocations: 0.6365 MB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/4.156, allocations: 4 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/4.156, allocations: 3.984 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/4.157, allocations: 84.84 kB / 2.395 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/4.157, allocations: 131.8 kB / 2.395 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/4.159, allocations: 1.464 MB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/4.159, allocations: 59.55 kB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/4.159, allocations: 28.05 kB / 2.397 GB, free: 200.9 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 (74): * Single equations (assignments): 73 * 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.0001462/4.16, allocations: 119.5 kB / 2.397 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/4.16, allocations: 71.06 kB / 2.397 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/4.162, allocations: 0.8934 MB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/4.162, allocations: 8 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/4.162, allocations: 7.906 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/4.162, allocations: 3.984 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/4.162, allocations: 0.7358 MB / 2.398 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/4.162, allocations: 0 / 2.398 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/4.163, allocations: 143.8 kB / 2.399 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/4.163, allocations: 88.69 kB / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/4.163, allocations: 11.98 kB / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/4.165, allocations: 1.484 MB / 2.4 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/4.165, allocations: 0 / 2.4 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001236/4.166, allocations: 0.7294 MB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/4.166, allocations: 271.9 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/4.166, allocations: 7.938 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/4.167, allocations: 55.94 kB / 2.401 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/4.167, allocations: 52.7 kB / 2.401 GB, free: 196 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/4.167, allocations: 27.98 kB / 2.401 GB, free: 196 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003981/4.168, allocations: 406.9 kB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009967/4.169, allocations: 327.1 kB / 2.402 GB, free: 195.3 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001442/4.17, allocations: 1.038 MB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009878/4.171, allocations: 0.6351 MB / 2.404 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/4.171, allocations: 0 / 2.404 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/4.172, allocations: 432.6 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/4.172, allocations: 221.8 kB / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/4.176, allocations: 1.318 MB / 2.405 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/4.176, allocations: 1.111 MB / 2.407 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/4.176, allocations: 4 kB / 2.407 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02201/4.198, allocations: 16.48 MB / 2.423 GB, free: 174.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)