Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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.001993/0.001993, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6068/0.6068, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.159/1.159, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009475/0.0009474, allocations: 93.61 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.043e-06, allocations: 2.656 kB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.5039, allocations: 113 MB / 0.7435 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5042, allocations: 82.67 kB / 0.7436 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0205/0.5247, allocations: 7.31 MB / 0.7507 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.5248, allocations: 9.281 kB / 0.7508 GB, free: 10.24 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007944/0.5256, allocations: 0.5603 MB / 0.7513 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5256, allocations: 9.281 kB / 0.7513 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.5258, allocations: 35.17 kB / 0.7513 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.5263, allocations: 296.1 kB / 0.7516 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5263, allocations: 3.938 kB / 0.7516 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.5263, allocations: 9.156 kB / 0.7516 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002018/0.5265, allocations: 102.1 kB / 0.7517 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.5268, allocations: 156.3 kB / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.5268, allocations: 0 / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.5268, allocations: 1.281 kB / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.5268, allocations: 7.078 kB / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.5277, allocations: 0.9106 MB / 0.7528 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.5282, allocations: 184.4 kB / 0.753 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.5283, allocations: 55.56 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.5284, allocations: 2.594 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5284, allocations: 39.31 kB / 0.7531 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.5284, allocations: 0 / 0.7531 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004115/0.5288, allocations: 148.4 kB / 0.7532 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5289, allocations: 79.7 kB / 0.7533 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5291, allocations: 217.4 kB / 0.7535 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5291, allocations: 28.98 kB / 0.7535 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.5291, allocations: 130.5 kB / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5292, allocations: 56.06 kB / 0.7537 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.5292, allocations: 4 kB / 0.7537 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.5293, allocations: 332 kB / 0.754 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.5294, allocations: 40.56 kB / 0.754 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.5295, allocations: 83.89 kB / 0.7541 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5296, allocations: 60.58 kB / 0.7542 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5296, allocations: 1.219 kB / 0.7542 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003988/0.53, allocations: 171.6 kB / 0.7543 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.53, allocations: 5.156 kB / 0.7544 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5301, allocations: 5.625 kB / 0.7544 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5301, allocations: 2.812 kB / 0.7544 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.5304, allocations: 92.09 kB / 0.7544 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5305, allocations: 6.531 kB / 0.7545 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5307, allocations: 50.7 kB / 0.7545 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.5308, allocations: 6.281 kB / 0.7545 GB, free: 23.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/0.5308, allocations: 109.9 kB / 0.7546 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.531, allocations: 27.97 kB / 0.7546 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.5314, allocations: 183.3 kB / 0.7548 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5314, allocations: 2.375 kB / 0.7548 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5314, allocations: 0.5625 kB / 0.7548 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5314, allocations: 1.062 kB / 0.7548 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.5317, allocations: 260.2 kB / 0.7551 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5318, allocations: 0.5 kB / 0.7551 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5321, allocations: 69.34 kB / 0.7551 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.5321, allocations: 5.078 kB / 0.7551 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.5321, allocations: 9.812 kB / 0.7551 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5321, allocations: 0.8125 kB / 0.7551 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5321, allocations: 8.969 kB / 0.7552 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004331/0.5326, allocations: 347.1 kB / 0.7555 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.5326, allocations: 99.2 kB / 0.7556 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5327, allocations: 1.156 kB / 0.7556 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.533, allocations: 44.64 kB / 0.7556 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.5331, allocations: 16.94 kB / 0.7556 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5331, allocations: 4.656 kB / 0.7556 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001563/0.5333, allocations: 177.2 kB / 0.7558 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003507/0.5336, allocations: 54.06 kB / 0.7559 GB, free: 22.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001849/0.5338, allocations: 118.5 kB / 0.756 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.5341, allocations: 126.1 kB / 0.7561 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5341, allocations: 0 / 0.7561 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5342, allocations: 69.44 kB / 0.7562 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.5346, allocations: 61.36 kB / 0.7562 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.5352, allocations: 292.6 kB / 0.7565 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.5356, allocations: 0.7951 MB / 0.7573 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.5356, allocations: 0 / 0.7573 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.006224/0.5418, allocations: 3.447 MB / 0.7606 GB, free: 20.43 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)