Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.002367/0.002367, allocations: 186.6 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.658/0.658, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.562/1.562, 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.001248/0.001248, allocations: 101.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.895e-06, allocations: 0 / 0.5528 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1954, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/4.878, allocations: 1.695 GB / 2.329 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/4.878, allocations: 86.23 kB / 2.329 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1952/5.074, allocations: 84.47 MB / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.905e-05/5.074, allocations: 31.94 kB / 2.411 GB, free: 186.1 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002475/5.076, allocations: 1.349 MB / 2.413 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/5.076, allocations: 16.03 kB / 2.413 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/5.077, allocations: 238 kB / 2.413 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/5.078, allocations: 0.7599 MB / 2.414 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/5.078, allocations: 80.19 kB / 2.414 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/5.079, allocations: 68 kB / 2.414 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001703/5.08, allocations: 1.273 MB / 2.415 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/5.082, allocations: 1.058 MB / 2.416 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/5.082, allocations: 0 / 2.416 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/5.082, allocations: 0 / 2.416 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/5.082, allocations: 36 kB / 2.416 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/5.087, allocations: 3.573 MB / 2.419 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/5.088, allocations: 0.8023 MB / 2.42 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/5.088, allocations: 327.1 kB / 2.421 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/5.088, allocations: 40.7 kB / 2.421 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/5.089, allocations: 495.7 kB / 2.421 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.236e-06/5.089, allocations: 0 / 2.421 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.001794/5.091, allocations: 0.8226 MB / 2.422 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/5.091, allocations: 244.1 kB / 2.422 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/5.091, allocations: 0.5855 MB / 2.423 GB, free: 174 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/5.092, allocations: 25.7 kB / 2.423 GB, free: 174 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/5.092, allocations: 431.7 kB / 2.423 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/5.092, allocations: 299.5 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/5.092, allocations: 0 / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001126/5.092, allocations: 386.8 kB / 2.424 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/5.093, allocations: 273.9 kB / 2.424 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/5.093, allocations: 386.4 kB / 2.424 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/5.093, allocations: 342.8 kB / 2.425 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/5.093, allocations: 0 / 2.425 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00169/5.095, allocations: 0.8781 MB / 2.426 GB, free: 171 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/5.095, allocations: 4 kB / 2.426 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/5.095, allocations: 3.938 kB / 2.426 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/5.096, allocations: 84.84 kB / 2.426 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/5.097, allocations: 191.7 kB / 2.426 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/5.098, allocations: 1.472 MB / 2.427 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/5.099, allocations: 75.36 kB / 2.427 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/5.099, allocations: 35.97 kB / 2.427 GB, free: 169 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001896/5.099, allocations: 120.9 kB / 2.428 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/5.1, allocations: 82.97 kB / 2.428 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/5.102, allocations: 1.213 MB / 2.429 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/5.102, allocations: 12 kB / 2.429 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/5.102, allocations: 0 / 2.429 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/5.102, allocations: 7.969 kB / 2.429 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/5.105, allocations: 2.211 MB / 2.431 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/5.105, allocations: 4 kB / 2.431 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/5.106, allocations: 183.7 kB / 2.431 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/5.107, allocations: 84.77 kB / 2.431 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/5.107, allocations: 23.98 kB / 2.431 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/5.108, allocations: 1.484 MB / 2.433 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.108, allocations: 0 / 2.433 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001609/5.11, allocations: 1.006 MB / 2.434 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/5.11, allocations: 339.5 kB / 2.434 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/5.111, allocations: 4 kB / 2.434 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/5.111, allocations: 63.94 kB / 2.434 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/5.111, allocations: 64.81 kB / 2.434 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/5.111, allocations: 39.97 kB / 2.434 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005594/5.112, allocations: 491.1 kB / 2.435 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001396/5.113, allocations: 410.6 kB / 2.435 GB, free: 161 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 (107): * Single equations (assignments): 104 * 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.001657/5.115, allocations: 1.058 MB / 2.436 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001394/5.117, allocations: 0.8345 MB / 2.437 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/5.117, allocations: 4.188 kB / 2.437 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006883/5.117, allocations: 0.5286 MB / 2.437 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/5.118, allocations: 229.2 kB / 2.438 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/5.123, allocations: 1.712 MB / 2.439 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/5.123, allocations: 1.273 MB / 2.441 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/5.123, allocations: 4 kB / 2.441 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.03047/5.154, allocations: 19.42 MB / 2.46 GB, free: 136 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)