Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002179/0.002179, allocations: 179.8 kB / 7.464 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.5976/0.5976, 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.144/1.144, 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.0008489/0.0008488, allocations: 98.22 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.021e-06, allocations: 2.5 kB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 82.31 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4699, allocations: 114.8 MB / 0.7454 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.4701, allocations: 92.77 kB / 0.7455 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01725/0.4874, allocations: 6.628 MB / 0.752 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.4874, allocations: 8.281 kB / 0.752 GB, free: 10.51 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.0008129/0.4882, allocations: 0.7351 MB / 0.7527 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4883, allocations: 9.344 kB / 0.7527 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.4883, allocations: 36.36 kB / 0.7527 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.4887, allocations: 311 kB / 0.753 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4888, allocations: 6.219 kB / 0.753 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.4888, allocations: 15.5 kB / 0.753 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000381/0.4892, allocations: 198.6 kB / 0.7532 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.4896, allocations: 239.8 kB / 0.7535 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4896, allocations: 0.5 kB / 0.7535 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.4897, allocations: 1.594 kB / 0.7535 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4897, allocations: 8.781 kB / 0.7535 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4909, allocations: 0.7059 MB / 0.7542 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.4913, allocations: 198.4 kB / 0.7543 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4915, allocations: 151.2 kB / 0.7545 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4915, allocations: 2.344 kB / 0.7545 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4915, allocations: 46.86 kB / 0.7545 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4915, allocations: 0 / 0.7545 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0005406/0.4921, allocations: 344 kB / 0.7549 GB, free: 25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4921, allocations: 142.3 kB / 0.755 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.4924, allocations: 298.4 kB / 0.7553 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4925, allocations: 28.17 kB / 0.7553 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.4925, allocations: 142.8 kB / 0.7554 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4926, allocations: 45.25 kB / 0.7555 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.4926, allocations: 1.344 kB / 0.7555 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4927, allocations: 342.1 kB / 0.7558 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.4929, allocations: 200 kB / 0.756 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.4932, allocations: 198.4 kB / 0.7562 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.4935, allocations: 200.6 kB / 0.7564 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4935, allocations: 0 / 0.7564 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000612/0.4941, allocations: 487.9 kB / 0.7569 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4941, allocations: 5.438 kB / 0.7569 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4941, allocations: 0 / 0.7569 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4942, allocations: 1 kB / 0.7569 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4943, allocations: 41.59 kB / 0.7569 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.4944, allocations: 0 / 0.7569 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.4946, allocations: 65.45 kB / 0.757 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.4946, allocations: 8.75 kB / 0.757 GB, free: 24 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.0001187/0.4947, allocations: 194.3 kB / 0.7572 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.4948, allocations: 30.06 kB / 0.7572 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.4949, allocations: 33.17 kB / 0.7572 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4949, allocations: 1.438 kB / 0.7572 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4949, allocations: 0 / 0.7572 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4949, allocations: 0 / 0.7572 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.4951, allocations: 311.8 kB / 0.7575 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4952, allocations: 7.984 kB / 0.7575 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4953, allocations: 41.28 kB / 0.7576 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4953, allocations: 4 kB / 0.7576 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4954, allocations: 3.75 kB / 0.7576 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4954, allocations: 0.9375 kB / 0.7576 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4954, allocations: 0 / 0.7576 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005199/0.4959, allocations: 472.3 kB / 0.758 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.496, allocations: 106.1 kB / 0.7581 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.496, allocations: 3.562 kB / 0.7581 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.4963, allocations: 44.77 kB / 0.7582 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.4964, allocations: 31.12 kB / 0.7582 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4964, allocations: 8.688 kB / 0.7582 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001962/0.4966, allocations: 239.8 kB / 0.7584 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003922/0.497, allocations: 111.8 kB / 0.7585 GB, free: 23.07 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.0004088/0.4974, allocations: 281.8 kB / 0.7588 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.498, allocations: 0.5354 MB / 0.7593 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.498, allocations: 0 / 0.7593 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.4982, allocations: 260.3 kB / 0.7596 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.4985, allocations: 52.06 kB / 0.7596 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.4993, allocations: 0.4956 MB / 0.7601 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.4996, allocations: 0.8191 MB / 0.7609 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.4997, allocations: 1.344 kB / 0.7609 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.008017/0.5077, allocations: 5.269 MB / 0.7661 GB, free: 19.01 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)