Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in") [: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.002478/0.002478, 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.5955/0.5955, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.162/1.162, 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.0008935/0.0008935, allocations: 93.83 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.733e-06, allocations: 0 / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.632/3.756, allocations: 2.504 GB / 3.137 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/3.756, allocations: 83.8 kB / 3.137 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.56/7.316, allocations: 1.422 GB / 4.559 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.84e-05/7.316, allocations: 36.59 kB / 4.559 GB, free: 121.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001734/7.318, allocations: 1.308 MB / 4.56 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/7.318, allocations: 9.125 kB / 4.56 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/7.32, allocations: 357.6 kB / 4.561 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/7.321, allocations: 0.9386 MB / 4.562 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/7.321, allocations: 31.97 kB / 4.562 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/7.321, allocations: 64.03 kB / 4.562 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001125/7.322, allocations: 0.9243 MB / 4.563 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/7.324, allocations: 1.324 MB / 4.564 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/7.324, allocations: 6.906 kB / 4.564 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/7.324, allocations: 3.438 kB / 4.564 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/7.324, allocations: 59.56 kB / 4.564 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/7.327, allocations: 5.058 MB / 4.569 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/7.328, allocations: 303.5 kB / 4.569 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/7.328, allocations: 241.5 kB / 4.569 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/7.329, allocations: 1.077 MB / 4.571 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/7.329, allocations: 44.44 kB / 4.571 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/7.329, allocations: 0.5469 kB / 4.571 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001566/7.33, allocations: 0.575 MB / 4.571 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/7.33, allocations: 77.11 kB / 4.571 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/7.331, allocations: 0.5546 MB / 4.572 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/7.331, allocations: 28.92 kB / 4.572 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/7.331, allocations: 465.8 kB / 4.572 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/7.331, allocations: 91.47 kB / 4.572 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/7.331, allocations: 2.062 kB / 4.572 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/7.331, allocations: 320.9 kB / 4.573 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/7.331, allocations: 146.7 kB / 4.573 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/7.332, allocations: 289 kB / 4.573 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/7.332, allocations: 223.5 kB / 4.573 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/7.332, allocations: 3.938 kB / 4.573 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006226/7.333, allocations: 0.5011 MB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/7.333, allocations: 3.969 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/7.333, allocations: 0 / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/7.333, allocations: 9.75 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/7.333, allocations: 57.66 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/7.333, allocations: 3.688 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/7.333, allocations: 22.7 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/7.333, allocations: 27.38 kB / 4.574 GB, free: 115.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.581e-05/7.333, allocations: 115.5 kB / 4.574 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/7.333, allocations: 80.25 kB / 4.574 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/7.334, allocations: 325.8 kB / 4.574 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/7.334, allocations: 3.938 kB / 4.574 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/7.334, allocations: 3.75 kB / 4.574 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/7.334, allocations: 7.781 kB / 4.574 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/7.336, allocations: 2.347 MB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/7.336, allocations: 11.69 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/7.336, allocations: 54.3 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/7.336, allocations: 10.91 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/7.336, allocations: 7.719 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.336, allocations: 7.125 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/7.336, allocations: 10.84 kB / 4.577 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005284/7.337, allocations: 0.8426 MB / 4.578 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/7.337, allocations: 200.7 kB / 4.578 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/7.337, allocations: 8 kB / 4.578 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/7.337, allocations: 18.47 kB / 4.578 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/7.337, allocations: 33.02 kB / 4.578 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/7.337, allocations: 11.88 kB / 4.578 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003796/7.338, allocations: 474.2 kB / 4.578 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001278/7.339, allocations: 0.507 MB / 4.579 GB, free: 113 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.003096/7.342, allocations: 2.444 MB / 4.581 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003722/7.343, allocations: 329.9 kB / 4.581 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/7.343, allocations: 3.281 kB / 4.581 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/7.343, allocations: 155.8 kB / 4.582 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/7.344, allocations: 424.1 kB / 4.582 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/7.347, allocations: 1.457 MB / 4.583 GB, free: 111.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/7.347, allocations: 1.286 MB / 4.585 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/7.347, allocations: 0 / 4.585 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.03823/7.385, allocations: 25.63 MB / 4.61 GB, free: 108.7 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)