Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_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.003636/0.003637, allocations: 182.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.7514/0.7514, 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.785/1.785, allocations: 221.3 MB / 395 MB, free: 10.14 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.001179/0.001179, allocations: 94.41 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6415/0.6427, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.8725, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.939, allocations: 1.858 GB / 2.491 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/5.939, allocations: 83.95 kB / 2.491 GB, free: 104.1 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.866/9.806, allocations: 1.012 GB / 3.503 GB, free: 93.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/9.806, allocations: 12.59 kB / 3.503 GB, free: 93.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/9.809, allocations: 0.587 MB / 3.504 GB, free: 92.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/9.812, allocations: 1.087 MB / 3.505 GB, free: 92.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006128/9.813, allocations: 176.6 kB / 3.505 GB, free: 92.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/9.813, allocations: 53.19 kB / 3.505 GB, free: 92.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001758/9.815, allocations: 1.012 MB / 3.506 GB, free: 92.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/9.817, allocations: 1.044 MB / 3.507 GB, free: 92.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/9.817, allocations: 0 / 3.507 GB, free: 92.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/9.817, allocations: 3.938 kB / 3.507 GB, free: 92.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/9.817, allocations: 44.16 kB / 3.507 GB, free: 92.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/9.825, allocations: 4.099 MB / 3.511 GB, free: 91.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/9.826, allocations: 0.7294 MB / 3.512 GB, free: 91.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/9.826, allocations: 0.5004 MB / 3.512 GB, free: 91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/9.827, allocations: 0.6157 MB / 3.513 GB, free: 90.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/9.828, allocations: 40.47 kB / 3.513 GB, free: 90.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/9.828, allocations: 0 / 3.513 GB, free: 90.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002837/9.83, allocations: 1.197 MB / 3.514 GB, free: 90.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/9.83, allocations: 65.41 kB / 3.514 GB, free: 90.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/9.831, allocations: 0.5647 MB / 3.515 GB, free: 90.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/9.831, allocations: 28.39 kB / 3.515 GB, free: 90.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/9.832, allocations: 326.8 kB / 3.515 GB, free: 89.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/9.832, allocations: 255.4 kB / 3.515 GB, free: 89.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/9.832, allocations: 0 / 3.515 GB, free: 89.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/9.832, allocations: 330.4 kB / 3.516 GB, free: 89.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/9.833, allocations: 415.9 kB / 3.516 GB, free: 89.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/9.833, allocations: 0.533 MB / 3.517 GB, free: 89.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/9.835, allocations: 0.6196 MB / 3.517 GB, free: 89.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/9.835, allocations: 0 / 3.517 GB, free: 89.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002216/9.837, allocations: 1.218 MB / 3.519 GB, free: 89.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/9.837, allocations: 450.9 kB / 3.519 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/9.837, allocations: 3.969 kB / 3.519 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/9.837, allocations: 6.062 kB / 3.519 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/9.839, allocations: 288.9 kB / 3.519 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/9.84, allocations: 1.211 MB / 3.52 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/9.841, allocations: 186.7 kB / 3.521 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/9.842, allocations: 40.77 kB / 3.521 GB, free: 87.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/9.842, allocations: 3.562 kB / 3.521 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002372/9.844, allocations: 1.098 MB / 3.522 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/9.844, allocations: 6.375 kB / 3.522 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/9.844, allocations: 6.781 kB / 3.522 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/9.845, allocations: 268.8 kB / 3.522 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/9.845, allocations: 3.875 kB / 3.522 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/9.847, allocations: 181.3 kB / 3.522 GB, free: 87.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/9.847, allocations: 37.61 kB / 3.522 GB, free: 87.5 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.0003189/9.847, allocations: 123.6 kB / 3.522 GB, free: 87.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/9.848, allocations: 94.62 kB / 3.522 GB, free: 87.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/9.85, allocations: 1.266 MB / 3.524 GB, free: 87.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/9.85, allocations: 7.688 kB / 3.524 GB, free: 87.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/9.85, allocations: 3.781 kB / 3.524 GB, free: 87.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/9.85, allocations: 5.672 kB / 3.524 GB, free: 87.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/9.854, allocations: 2.639 MB / 3.526 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/9.854, allocations: 7.562 kB / 3.526 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/9.856, allocations: 277.3 kB / 3.527 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/9.856, allocations: 11.38 kB / 3.527 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/9.856, allocations: 15.2 kB / 3.527 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005426/9.856, allocations: 1.2 MB / 3.528 GB, free: 85.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/9.856, allocations: 10.47 kB / 3.528 GB, free: 85.67 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002185/9.859, allocations: 1.529 MB / 3.529 GB, free: 85.11 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00276/9.861, allocations: 2.065 MB / 3.531 GB, free: 84.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/9.862, allocations: 308.5 kB / 3.532 GB, free: 84.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/9.862, allocations: 8.109 kB / 3.532 GB, free: 84.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/9.864, allocations: 170.1 kB / 3.532 GB, free: 84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/9.864, allocations: 54.53 kB / 3.532 GB, free: 84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/9.864, allocations: 35.8 kB / 3.532 GB, free: 84 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005625/9.865, allocations: 444.6 kB / 3.532 GB, free: 83.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004688/9.869, allocations: 1.29 MB / 3.533 GB, free: 83.83 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.004581/9.874, allocations: 2.615 MB / 3.536 GB, free: 82.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00368/9.878, allocations: 1.617 MB / 3.538 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/9.878, allocations: 1.438 kB / 3.538 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/9.879, allocations: 0.5441 MB / 3.538 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/9.881, allocations: 407.4 kB / 3.539 GB, free: 82.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/9.897, allocations: 2.441 MB / 3.541 GB, free: 82.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/9.899, allocations: 1.234 MB / 3.542 GB, free: 81.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/9.899, allocations: 0 / 3.542 GB, free: 81.68 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)