Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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/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/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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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.002995/0.002995, allocations: 180.2 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6828/0.6828, allocations: 130.6 MB / 138.5 MB, free: 2.148 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.3 MB / 391.4 MB, free: 13.04 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.001238/0.001238, allocations: 99.27 kB / 473.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.343e-05/1.345e-05, allocations: 6.844 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 81.57 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6398/0.8678, allocations: 114.6 MB / 0.7395 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.8683, allocations: 94.67 kB / 0.7396 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0208/0.8891, allocations: 6.632 MB / 0.7461 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.8891, allocations: 7.812 kB / 0.7461 GB, free: 10.97 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001111/0.8903, allocations: 0.7266 MB / 0.7468 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.8903, allocations: 15.44 kB / 0.7468 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.8904, allocations: 34.84 kB / 0.7468 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.891, allocations: 313 kB / 0.7471 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.891, allocations: 7.812 kB / 0.7471 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.8911, allocations: 18.69 kB / 0.7472 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003339/0.8914, allocations: 198 kB / 0.7474 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.8918, allocations: 239.9 kB / 0.7476 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.8918, allocations: 0 / 0.7476 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.8919, allocations: 0 / 0.7476 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.8919, allocations: 3.938 kB / 0.7476 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.8932, allocations: 0.7086 MB / 0.7483 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.8936, allocations: 201.5 kB / 0.7485 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.8938, allocations: 151.6 kB / 0.7486 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.8939, allocations: 0 / 0.7486 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.8939, allocations: 45.47 kB / 0.7487 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.8939, allocations: 0 / 0.7487 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0006342/0.8945, allocations: 343.2 kB / 0.749 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.8947, allocations: 140.3 kB / 0.7491 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.895, allocations: 297.1 kB / 0.7494 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.8951, allocations: 29.55 kB / 0.7494 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.8952, allocations: 137.6 kB / 0.7496 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.8953, allocations: 49.34 kB / 0.7496 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.8953, allocations: 0 / 0.7496 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.8955, allocations: 339.5 kB / 0.7499 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.8957, allocations: 208.9 kB / 0.7501 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.896, allocations: 198.1 kB / 0.7503 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.8963, allocations: 192.2 kB / 0.7505 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8963, allocations: 3.844 kB / 0.7505 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006529/0.897, allocations: 486.1 kB / 0.751 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.897, allocations: 7.875 kB / 0.751 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.897, allocations: 0 / 0.751 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.8971, allocations: 0 / 0.751 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.8973, allocations: 46.89 kB / 0.751 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.8973, allocations: 0 / 0.751 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.8975, allocations: 64.59 kB / 0.7511 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.8976, allocations: 10.78 kB / 0.7511 GB, free: 24.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.8979, allocations: 200.7 kB / 0.7513 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.898, allocations: 31 kB / 0.7513 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.898, allocations: 22.56 kB / 0.7513 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.898, allocations: 0 / 0.7513 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8981, allocations: 3.844 kB / 0.7513 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.8981, allocations: 0.9375 kB / 0.7513 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.8985, allocations: 313.9 kB / 0.7516 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8985, allocations: 0.5625 kB / 0.7516 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.8987, allocations: 43.45 kB / 0.7517 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8987, allocations: 0 / 0.7517 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.8988, allocations: 12.48 kB / 0.7517 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8988, allocations: 0 / 0.7517 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8988, allocations: 0 / 0.7517 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006333/0.8994, allocations: 472.2 kB / 0.7521 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.8995, allocations: 105.1 kB / 0.7522 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.8996, allocations: 4.547 kB / 0.7522 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.8999, allocations: 40.69 kB / 0.7523 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9, allocations: 26.64 kB / 0.7523 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.9, allocations: 15.5 kB / 0.7523 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000271/0.9003, allocations: 238.3 kB / 0.7526 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006369/0.901, allocations: 120.1 kB / 0.7527 GB, free: 24.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005919/0.9016, allocations: 268 kB / 0.7529 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.9023, allocations: 0.5347 MB / 0.7534 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9023, allocations: 0 / 0.7534 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.9026, allocations: 265.2 kB / 0.7537 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.903, allocations: 57.19 kB / 0.7538 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.904, allocations: 0.4953 MB / 0.7542 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.9045, allocations: 0.8081 MB / 0.755 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.9046, allocations: 0 / 0.755 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.01147/0.916, allocations: 5.275 MB / 0.7602 GB, free: 20.16 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)