Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_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.00484/0.00484, allocations: 180.5 kB / 7.459 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.7425/0.7425, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.629/1.629, allocations: 221.3 MB / 395 MB, free: 10.22 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.001013/0.001013, allocations: 98.28 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5177/0.5188, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.7262, allocations: 82.29 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.184/4.911, allocations: 1.858 GB / 2.491 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/4.911, allocations: 83.95 kB / 2.491 GB, free: 108.2 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.533/8.444, allocations: 1.012 GB / 3.503 GB, free: 94.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/8.444, allocations: 9.156 kB / 3.503 GB, free: 94.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/8.447, allocations: 0.5912 MB / 3.503 GB, free: 94.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/8.451, allocations: 1.088 MB / 3.504 GB, free: 94.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006083/8.451, allocations: 178.8 kB / 3.505 GB, free: 94.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/8.451, allocations: 50.59 kB / 3.505 GB, free: 94.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/8.453, allocations: 1.013 MB / 3.506 GB, free: 94.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/8.455, allocations: 1.044 MB / 3.507 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/8.455, allocations: 1.781 kB / 3.507 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/8.455, allocations: 3.531 kB / 3.507 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/8.455, allocations: 42.28 kB / 3.507 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/8.462, allocations: 4.101 MB / 3.511 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/8.463, allocations: 0.7243 MB / 3.511 GB, free: 92.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/8.464, allocations: 0.5062 MB / 3.512 GB, free: 92.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009977/8.465, allocations: 0.6135 MB / 3.512 GB, free: 92.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/8.465, allocations: 41.03 kB / 3.513 GB, free: 91.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.584e-06/8.465, allocations: 3.062 kB / 3.513 GB, free: 91.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002505/8.468, allocations: 1.194 MB / 3.514 GB, free: 91.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/8.468, allocations: 61.81 kB / 3.514 GB, free: 91.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/8.468, allocations: 0.5603 MB / 3.514 GB, free: 91.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/8.469, allocations: 28.39 kB / 3.514 GB, free: 91.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/8.469, allocations: 327.6 kB / 3.515 GB, free: 91.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/8.469, allocations: 257.7 kB / 3.515 GB, free: 91.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/8.469, allocations: 7.781 kB / 3.515 GB, free: 91.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/8.469, allocations: 330 kB / 3.515 GB, free: 90.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/8.47, allocations: 412.9 kB / 3.516 GB, free: 90.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/8.47, allocations: 0.5331 MB / 3.516 GB, free: 90.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/8.471, allocations: 0.6121 MB / 3.517 GB, free: 90.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/8.471, allocations: 1.5 kB / 3.517 GB, free: 90.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002127/8.474, allocations: 1.216 MB / 3.518 GB, free: 90.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/8.474, allocations: 454.6 kB / 3.518 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/8.474, allocations: 6.25 kB / 3.518 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/8.474, allocations: 7.188 kB / 3.518 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/8.475, allocations: 298.8 kB / 3.519 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006929/8.476, allocations: 1.213 MB / 3.52 GB, free: 89.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/8.478, allocations: 182.2 kB / 3.52 GB, free: 89.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/8.478, allocations: 41.36 kB / 3.52 GB, free: 89.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/8.478, allocations: 7.062 kB / 3.52 GB, free: 89.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001967/8.48, allocations: 1.09 MB / 3.521 GB, free: 89.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/8.48, allocations: 3.891 kB / 3.521 GB, free: 89.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/8.48, allocations: 10.36 kB / 3.521 GB, free: 89.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/8.481, allocations: 268.2 kB / 3.521 GB, free: 89.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/8.481, allocations: 5.938 kB / 3.521 GB, free: 89.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/8.482, allocations: 178 kB / 3.522 GB, free: 89.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/8.482, allocations: 41.31 kB / 3.522 GB, free: 89.07 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.0002701/8.483, allocations: 125.1 kB / 3.522 GB, free: 88.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/8.483, allocations: 94.19 kB / 3.522 GB, free: 88.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/8.485, allocations: 1.27 MB / 3.523 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/8.485, allocations: 7.75 kB / 3.523 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/8.485, allocations: 0 / 3.523 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/8.485, allocations: 3.328 kB / 3.523 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/8.49, allocations: 2.651 MB / 3.526 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/8.49, allocations: 3.625 kB / 3.526 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/8.491, allocations: 264.1 kB / 3.526 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/8.491, allocations: 13.75 kB / 3.526 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/8.491, allocations: 19.97 kB / 3.526 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00048/8.492, allocations: 1.2 MB / 3.527 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/8.492, allocations: 3.938 kB / 3.527 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002103/8.494, allocations: 1.543 MB / 3.529 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002681/8.497, allocations: 2.051 MB / 3.531 GB, free: 85.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006937/8.497, allocations: 314.7 kB / 3.531 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/8.498, allocations: 6.781 kB / 3.531 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/8.499, allocations: 166.5 kB / 3.531 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/8.499, allocations: 53.27 kB / 3.531 GB, free: 85.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/8.499, allocations: 40.09 kB / 3.531 GB, free: 85.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005985/8.5, allocations: 443.4 kB / 3.532 GB, free: 85.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00454/8.504, allocations: 1.288 MB / 3.533 GB, free: 85.41 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.005571/8.51, allocations: 2.63 MB / 3.535 GB, free: 84.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003822/8.514, allocations: 1.608 MB / 3.537 GB, free: 84.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/8.514, allocations: 1.281 kB / 3.537 GB, free: 84.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/8.515, allocations: 0.5454 MB / 3.538 GB, free: 84.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/8.517, allocations: 408.7 kB / 3.538 GB, free: 84.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/8.533, allocations: 2.436 MB / 3.54 GB, free: 83.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/8.534, allocations: 1.238 MB / 3.542 GB, free: 83.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/8.534, allocations: 0 / 3.542 GB, free: 83.25 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)