Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.003416/0.003416, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7417/0.7417, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.818/1.818, allocations: 221.3 MB / 395 MB, free: 10.1 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.001169/0.001169, allocations: 113.2 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5824/0.5837, allocations: 88.42 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.7976, allocations: 82.3 MB / 0.6333 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.028/5.826, allocations: 1.858 GB / 2.491 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.826, allocations: 87.95 kB / 2.491 GB, free: 100.5 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.899/9.725, allocations: 1.012 GB / 3.503 GB, free: 93.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/9.725, allocations: 11.03 kB / 3.503 GB, free: 93.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/9.729, allocations: 0.589 MB / 3.503 GB, free: 93.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/9.732, allocations: 1.083 MB / 3.504 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006656/9.733, allocations: 181.8 kB / 3.505 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/9.733, allocations: 53.84 kB / 3.505 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001808/9.735, allocations: 1.01 MB / 3.506 GB, free: 93.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/9.737, allocations: 1.046 MB / 3.507 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/9.737, allocations: 0 / 3.507 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/9.737, allocations: 3.938 kB / 3.507 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.927e-05/9.737, allocations: 45.69 kB / 3.507 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007579/9.745, allocations: 4.104 MB / 3.511 GB, free: 91.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/9.746, allocations: 0.7153 MB / 3.511 GB, free: 91.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/9.746, allocations: 0.5037 MB / 3.512 GB, free: 91.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009225/9.747, allocations: 0.6148 MB / 3.512 GB, free: 91.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/9.747, allocations: 48.19 kB / 3.513 GB, free: 91.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/9.747, allocations: 0 / 3.513 GB, free: 91.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002444/9.75, allocations: 1.193 MB / 3.514 GB, free: 91.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/9.75, allocations: 61.12 kB / 3.514 GB, free: 90.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/9.75, allocations: 0.5661 MB / 3.514 GB, free: 90.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.202e-05/9.751, allocations: 29.42 kB / 3.514 GB, free: 90.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/9.751, allocations: 326.8 kB / 3.515 GB, free: 90.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/9.751, allocations: 252.1 kB / 3.515 GB, free: 90.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/9.751, allocations: 3.844 kB / 3.515 GB, free: 90.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/9.751, allocations: 332.2 kB / 3.515 GB, free: 90.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/9.752, allocations: 410.9 kB / 3.516 GB, free: 90.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/9.752, allocations: 0.5373 MB / 3.516 GB, free: 90.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/9.753, allocations: 0.6156 MB / 3.517 GB, free: 90.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/9.753, allocations: 0 / 3.517 GB, free: 90.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002171/9.756, allocations: 1.227 MB / 3.518 GB, free: 89.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/9.756, allocations: 448.9 kB / 3.518 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/9.756, allocations: 0 / 3.518 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/9.756, allocations: 7.562 kB / 3.518 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/9.757, allocations: 296.7 kB / 3.519 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/9.758, allocations: 1.205 MB / 3.52 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/9.76, allocations: 189.3 kB / 3.52 GB, free: 88.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/9.76, allocations: 37.28 kB / 3.52 GB, free: 88.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/9.76, allocations: 3.906 kB / 3.52 GB, free: 88.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/9.762, allocations: 1.102 MB / 3.521 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/9.762, allocations: 0 / 3.521 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/9.762, allocations: 6.094 kB / 3.521 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/9.763, allocations: 268.5 kB / 3.521 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/9.763, allocations: 3.969 kB / 3.521 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/9.765, allocations: 180.9 kB / 3.522 GB, free: 88.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/9.765, allocations: 38.52 kB / 3.522 GB, free: 88.22 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.0003525/9.766, allocations: 125.9 kB / 3.522 GB, free: 88.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/9.766, allocations: 95.47 kB / 3.522 GB, free: 88.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/9.768, allocations: 1.272 MB / 3.523 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/9.768, allocations: 6.562 kB / 3.523 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/9.768, allocations: 3.875 kB / 3.523 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/9.768, allocations: 3.703 kB / 3.523 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/9.773, allocations: 2.648 MB / 3.526 GB, free: 87.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/9.773, allocations: 5.875 kB / 3.526 GB, free: 87.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/9.774, allocations: 262.1 kB / 3.526 GB, free: 87.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/9.774, allocations: 11.16 kB / 3.526 GB, free: 87.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/9.774, allocations: 19.31 kB / 3.526 GB, free: 87.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/9.775, allocations: 1.203 MB / 3.527 GB, free: 86.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/9.775, allocations: 6.531 kB / 3.527 GB, free: 86.39 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002997/9.778, allocations: 1.538 MB / 3.529 GB, free: 85.82 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002921/9.781, allocations: 2.056 MB / 3.531 GB, free: 84.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/9.781, allocations: 314.6 kB / 3.531 GB, free: 84.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/9.782, allocations: 5.312 kB / 3.531 GB, free: 84.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/9.783, allocations: 169.5 kB / 3.531 GB, free: 84.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/9.783, allocations: 54.45 kB / 3.531 GB, free: 84.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/9.783, allocations: 42.06 kB / 3.531 GB, free: 84.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007533/9.784, allocations: 443.6 kB / 3.532 GB, free: 84.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005071/9.789, allocations: 1.285 MB / 3.533 GB, free: 84.55 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.005099/9.794, allocations: 2.629 MB / 3.535 GB, free: 83.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004108/9.798, allocations: 1.606 MB / 3.537 GB, free: 83.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/9.798, allocations: 6.438 kB / 3.537 GB, free: 83.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/9.799, allocations: 0.5409 MB / 3.538 GB, free: 83.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/9.802, allocations: 410.3 kB / 3.538 GB, free: 83.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/9.818, allocations: 2.435 MB / 3.54 GB, free: 83.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/9.819, allocations: 1.238 MB / 3.542 GB, free: 82.36 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/9.819, allocations: 0 / 3.542 GB, free: 82.36 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)