Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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: "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [: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.003989/0.003988, allocations: 181.4 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7407/0.7407, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.562/1.562, allocations: 221.3 MB / 395 MB, free: 10.24 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.00113/0.001129, allocations: 98.73 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4858/0.487, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.6989, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.36/5.059, allocations: 1.858 GB / 2.491 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/5.059, allocations: 83.95 kB / 2.491 GB, free: 102 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.529/8.588, allocations: 1.012 GB / 3.503 GB, free: 91.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/8.588, allocations: 9.125 kB / 3.503 GB, free: 91.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/8.592, allocations: 0.5914 MB / 3.504 GB, free: 91.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/8.595, allocations: 1.081 MB / 3.505 GB, free: 91.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/8.595, allocations: 185.1 kB / 3.505 GB, free: 91.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/8.596, allocations: 55.97 kB / 3.505 GB, free: 91.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001803/8.597, allocations: 1.009 MB / 3.506 GB, free: 91.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/8.599, allocations: 1.046 MB / 3.507 GB, free: 91.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/8.599, allocations: 5.281 kB / 3.507 GB, free: 91.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/8.599, allocations: 3.531 kB / 3.507 GB, free: 91.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/8.599, allocations: 40.8 kB / 3.507 GB, free: 91.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007147/8.606, allocations: 4.096 MB / 3.511 GB, free: 89.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/8.607, allocations: 0.7225 MB / 3.512 GB, free: 89.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/8.608, allocations: 0.5043 MB / 3.512 GB, free: 89.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/8.609, allocations: 0.621 MB / 3.513 GB, free: 88.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/8.609, allocations: 38.34 kB / 3.513 GB, free: 88.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/8.609, allocations: 0 / 3.513 GB, free: 88.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.0028/8.612, allocations: 1.194 MB / 3.514 GB, free: 88.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/8.612, allocations: 62.19 kB / 3.514 GB, free: 88.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/8.613, allocations: 0.5633 MB / 3.515 GB, free: 88.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/8.613, allocations: 35.2 kB / 3.515 GB, free: 88.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/8.613, allocations: 331.4 kB / 3.515 GB, free: 88.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/8.613, allocations: 250.4 kB / 3.515 GB, free: 88.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/8.613, allocations: 3.5 kB / 3.515 GB, free: 88.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/8.614, allocations: 328 kB / 3.516 GB, free: 87.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/8.614, allocations: 410.7 kB / 3.516 GB, free: 87.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/8.615, allocations: 0.5423 MB / 3.517 GB, free: 87.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/8.616, allocations: 0.6079 MB / 3.517 GB, free: 87.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/8.616, allocations: 0 / 3.517 GB, free: 87.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002241/8.618, allocations: 1.225 MB / 3.519 GB, free: 87.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/8.619, allocations: 454.8 kB / 3.519 GB, free: 87.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/8.619, allocations: 0 / 3.519 GB, free: 87.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/8.619, allocations: 9.844 kB / 3.519 GB, free: 87.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/8.62, allocations: 287.3 kB / 3.519 GB, free: 87.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005957/8.621, allocations: 1.21 MB / 3.52 GB, free: 86.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/8.623, allocations: 190 kB / 3.521 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/8.623, allocations: 35.7 kB / 3.521 GB, free: 86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/8.623, allocations: 3.969 kB / 3.521 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001954/8.625, allocations: 1.096 MB / 3.522 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/8.625, allocations: 3.625 kB / 3.522 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/8.625, allocations: 3.969 kB / 3.522 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/8.626, allocations: 270.6 kB / 3.522 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/8.626, allocations: 10.59 kB / 3.522 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/8.628, allocations: 175.5 kB / 3.522 GB, free: 85.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/8.628, allocations: 44.03 kB / 3.522 GB, free: 85.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003159/8.628, allocations: 126.9 kB / 3.522 GB, free: 85.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/8.628, allocations: 93 kB / 3.522 GB, free: 85.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/8.631, allocations: 1.268 MB / 3.524 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/8.631, allocations: 11.38 kB / 3.524 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.631, allocations: 0 / 3.524 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/8.631, allocations: 3.703 kB / 3.524 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/8.636, allocations: 2.643 MB / 3.526 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/8.636, allocations: 3.875 kB / 3.526 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/8.637, allocations: 273.5 kB / 3.526 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/8.637, allocations: 14.34 kB / 3.527 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/8.637, allocations: 16.95 kB / 3.527 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004602/8.638, allocations: 1.204 MB / 3.528 GB, free: 84.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/8.638, allocations: 2.531 kB / 3.528 GB, free: 84.12 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002132/8.64, allocations: 1.542 MB / 3.529 GB, free: 83.55 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003317/8.643, allocations: 2.053 MB / 3.531 GB, free: 82.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/8.644, allocations: 312.8 kB / 3.532 GB, free: 82.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/8.644, allocations: 5.094 kB / 3.532 GB, free: 82.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/8.646, allocations: 170.8 kB / 3.532 GB, free: 82.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/8.646, allocations: 55.89 kB / 3.532 GB, free: 82.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/8.646, allocations: 37.86 kB / 3.532 GB, free: 82.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000877/8.647, allocations: 441.9 kB / 3.532 GB, free: 82.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004642/8.651, allocations: 1.294 MB / 3.533 GB, free: 82.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003638/8.655, allocations: 2.619 MB / 3.536 GB, free: 81.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00381/8.659, allocations: 1.617 MB / 3.538 GB, free: 81.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/8.659, allocations: 9.094 kB / 3.538 GB, free: 81.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/8.66, allocations: 0.543 MB / 3.538 GB, free: 81.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/8.663, allocations: 407.2 kB / 3.539 GB, free: 81.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/8.679, allocations: 2.435 MB / 3.541 GB, free: 80.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/8.681, allocations: 1.231 MB / 3.542 GB, free: 80.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.384e-06/8.681, allocations: 0 / 3.542 GB, free: 80.12 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)