Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") [: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.004115/0.004115, allocations: 175.9 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7006/0.7006, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.58/1.58, allocations: 221.3 MB / 395 MB, free: 10.21 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.001199/0.001199, allocations: 102.5 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.048e-05, allocations: 3.312 kB / 0.5528 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.599/3.811, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/3.811, allocations: 83.31 kB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1322/3.944, allocations: 58.73 MB / 2.383 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.151e-05/3.944, allocations: 31.94 kB / 2.383 GB, free: 215.5 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001891/3.946, allocations: 1.121 MB / 2.385 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/3.946, allocations: 8.031 kB / 2.385 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/3.947, allocations: 262.4 kB / 2.385 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/3.948, allocations: 0.6192 MB / 2.385 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/3.948, allocations: 31.94 kB / 2.385 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/3.948, allocations: 44 kB / 2.385 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/3.949, allocations: 1.003 MB / 2.386 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/3.95, allocations: 0.7609 MB / 2.387 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/3.95, allocations: 0 / 2.387 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/3.95, allocations: 7.906 kB / 2.387 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/3.95, allocations: 24 kB / 2.387 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/3.954, allocations: 2.571 MB / 2.39 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/3.955, allocations: 0.755 MB / 2.39 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/3.955, allocations: 246.7 kB / 2.391 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.325e-05/3.955, allocations: 28.62 kB / 2.391 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/3.956, allocations: 386 kB / 2.391 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 2.304e-06/3.956, allocations: 0 / 2.391 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001443/3.957, allocations: 0.6366 MB / 2.392 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/3.957, allocations: 243.9 kB / 2.392 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/3.958, allocations: 0.4984 MB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/3.958, allocations: 29.7 kB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/3.958, allocations: 308.1 kB / 2.393 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/3.958, allocations: 240.4 kB / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/3.958, allocations: 0 / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/3.958, allocations: 374.8 kB / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/3.958, allocations: 189.3 kB / 2.394 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/3.959, allocations: 316.9 kB / 2.394 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/3.959, allocations: 239.1 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/3.959, allocations: 0 / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001345/3.96, allocations: 0.6599 MB / 2.395 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/3.96, allocations: 8.156 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/3.96, allocations: 4 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/3.961, allocations: 84.77 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/3.962, allocations: 147.8 kB / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/3.963, allocations: 1.457 MB / 2.396 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/3.964, allocations: 67.61 kB / 2.396 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/3.964, allocations: 31.98 kB / 2.396 GB, free: 201.6 MB / 0.6823 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 (79): * Single equations (assignments): 78 * 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.0001487/3.964, allocations: 120.8 kB / 2.397 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/3.964, allocations: 79 kB / 2.397 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/3.966, allocations: 0.9173 MB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/3.966, allocations: 8 kB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/3.966, allocations: 0 / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/3.966, allocations: 7.984 kB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/3.969, allocations: 1.756 MB / 2.399 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/3.969, allocations: 0 / 2.399 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/3.97, allocations: 147.7 kB / 2.399 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/3.97, allocations: 84.78 kB / 2.399 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/3.97, allocations: 11.98 kB / 2.399 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/3.972, allocations: 1.492 MB / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/3.972, allocations: 0 / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001426/3.973, allocations: 0.8167 MB / 2.402 GB, free: 196 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/3.973, allocations: 279.8 kB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/3.974, allocations: 3.906 kB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/3.974, allocations: 63.92 kB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/3.974, allocations: 48.7 kB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/3.974, allocations: 31.98 kB / 2.402 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004262/3.975, allocations: 410.9 kB / 2.403 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00104/3.976, allocations: 327.1 kB / 2.403 GB, free: 194.8 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 (86): * Single equations (assignments): 83 * 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.001514/3.977, allocations: 1.045 MB / 2.404 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001028/3.978, allocations: 0.6587 MB / 2.405 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/3.978, allocations: 0 / 2.405 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/3.979, allocations: 448.6 kB / 2.405 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/3.98, allocations: 225.4 kB / 2.405 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/3.983, allocations: 1.347 MB / 2.406 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/3.984, allocations: 1.131 MB / 2.408 GB, free: 190 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/3.984, allocations: 0 / 2.408 GB, free: 190 MB / 0.6823 GB Notification: Performance of Templates: time 0.02279/4.007, allocations: 17.02 MB / 2.424 GB, free: 173 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)