Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2797/0.2797, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001387/0.001388, allocations: 185.3 kB / 75.37 MB, free: 1.547 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.55/1.55, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001762/0.001762, allocations: 119.5 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.168e-05/1.17e-05, allocations: 4 kB / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5994, allocations: 88.95 MB / 0.5386 GB, free: 8.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5997, allocations: 91.06 kB / 0.5387 GB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.02028/0.62, allocations: 6.509 MB / 0.5451 GB, free: 2.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.6201, allocations: 8 kB / 0.5451 GB, free: 2.246 MB / 378.7 MB 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.001034/0.6212, allocations: 0.7307 MB / 0.5458 GB, free: 1.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.6212, allocations: 11.97 kB / 0.5458 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.6213, allocations: 35.53 kB / 0.5458 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.6218, allocations: 315.1 kB / 0.5461 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6219, allocations: 7.906 kB / 0.5461 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.6219, allocations: 12 kB / 0.5462 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003577/0.6223, allocations: 196.2 kB / 0.5463 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.6227, allocations: 238.7 kB / 0.5466 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6227, allocations: 0 / 0.5466 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.6227, allocations: 0 / 0.5466 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.6227, allocations: 7.938 kB / 0.5466 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.6241, allocations: 0.704 MB / 0.5473 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.6245, allocations: 203.2 kB / 0.5475 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.6247, allocations: 156.9 kB / 0.5476 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.6248, allocations: 3.938 kB / 0.5476 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6248, allocations: 30.56 kB / 0.5476 GB, free: 15.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.6248, allocations: 0 / 0.5476 GB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006356/0.6254, allocations: 347 kB / 0.548 GB, free: 15.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.6255, allocations: 136.5 kB / 0.5481 GB, free: 14.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.6259, allocations: 307.5 kB / 0.5484 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.6259, allocations: 29.7 kB / 0.5484 GB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.626, allocations: 144.2 kB / 0.5486 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.6261, allocations: 35.41 kB / 0.5486 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.6261, allocations: 4 kB / 0.5486 GB, free: 14.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6263, allocations: 342.8 kB / 0.5489 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6265, allocations: 199.8 kB / 0.5491 GB, free: 13.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.6268, allocations: 199.9 kB / 0.5493 GB, free: 13.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.6271, allocations: 191.9 kB / 0.5495 GB, free: 13.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6271, allocations: 0 / 0.5495 GB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007128/0.6279, allocations: 493.1 kB / 0.55 GB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6279, allocations: 11.98 kB / 0.55 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6279, allocations: 0 / 0.55 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6279, allocations: 0 / 0.55 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.6281, allocations: 39.97 kB / 0.55 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.6282, allocations: 0 / 0.55 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.6284, allocations: 59.66 kB / 0.5501 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.6285, allocations: 15.94 kB / 0.5501 GB, free: 12.86 MB / 394.7 MB 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.0001713/0.6286, allocations: 202 kB / 0.5503 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.6287, allocations: 31.62 kB / 0.5503 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.6288, allocations: 29.94 kB / 0.5503 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6288, allocations: 4 kB / 0.5503 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6288, allocations: 0 / 0.5503 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6288, allocations: 0 / 0.5503 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.6291, allocations: 313.9 kB / 0.5506 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6291, allocations: 0 / 0.5506 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.6293, allocations: 43.97 kB / 0.5507 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6294, allocations: 0 / 0.5507 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.6294, allocations: 4 kB / 0.5507 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6294, allocations: 0 / 0.5507 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6294, allocations: 4 kB / 0.5507 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006034/0.63, allocations: 475.1 kB / 0.5511 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.6301, allocations: 112.7 kB / 0.5512 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.6302, allocations: 4 kB / 0.5512 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.6304, allocations: 39.97 kB / 0.5513 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.6305, allocations: 23.97 kB / 0.5513 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6306, allocations: 4 kB / 0.5513 GB, free: 11.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002271/0.6308, allocations: 243.1 kB / 0.5515 GB, free: 11.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005173/0.6313, allocations: 119.7 kB / 0.5517 GB, free: 11.14 MB / 394.7 MB 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.0005276/0.6319, allocations: 272.5 kB / 0.5519 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006951/0.6326, allocations: 0.5337 MB / 0.5524 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6326, allocations: 0 / 0.5524 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.6329, allocations: 265 kB / 0.5527 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.6333, allocations: 56.58 kB / 0.5527 GB, free: 9.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.6342, allocations: 0.4898 MB / 0.5532 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.6347, allocations: 0.8134 MB / 0.554 GB, free: 8.609 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6347, allocations: 0 / 0.554 GB, free: 8.609 MB / 394.7 MB Notification: Performance of Templates: time 0.01002/0.6448, allocations: 5.269 MB / 0.5592 GB, free: 3.367 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)