Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.004047/0.004047, allocations: 178.4 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7642/0.7642, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.693/1.693, allocations: 221.3 MB / 395 MB, free: 10.2 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.001362/0.001361, allocations: 93.53 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6328/0.6343, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.8785, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.319/6.198, allocations: 1.858 GB / 2.491 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/6.198, allocations: 86.02 kB / 2.491 GB, free: 68.29 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.933/10.13, allocations: 1.012 GB / 3.503 GB, free: 96.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/10.13, allocations: 10.12 kB / 3.503 GB, free: 96.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/10.14, allocations: 0.5889 MB / 3.504 GB, free: 96.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/10.14, allocations: 1.084 MB / 3.505 GB, free: 96.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008849/10.14, allocations: 178.6 kB / 3.505 GB, free: 96.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005991/10.14, allocations: 49.31 kB / 3.505 GB, free: 96.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00327/10.15, allocations: 1.016 MB / 3.506 GB, free: 96.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/10.15, allocations: 1.049 MB / 3.507 GB, free: 95.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/10.15, allocations: 0 / 3.507 GB, free: 95.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/10.15, allocations: 1.688 kB / 3.507 GB, free: 95.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/10.15, allocations: 48.88 kB / 3.507 GB, free: 95.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/10.16, allocations: 4.108 MB / 3.511 GB, free: 94.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/10.16, allocations: 0.7196 MB / 3.512 GB, free: 94.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/10.16, allocations: 0.5019 MB / 3.512 GB, free: 94.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/10.16, allocations: 0.614 MB / 3.513 GB, free: 93.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/10.16, allocations: 42.33 kB / 3.513 GB, free: 93.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 5.911e-06/10.16, allocations: 0 / 3.513 GB, free: 93.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003764/10.17, allocations: 1.197 MB / 3.514 GB, free: 93.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/10.17, allocations: 63.5 kB / 3.514 GB, free: 93.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/10.17, allocations: 0.5585 MB / 3.515 GB, free: 93.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/10.17, allocations: 28.64 kB / 3.515 GB, free: 93.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/10.17, allocations: 324.4 kB / 3.515 GB, free: 92.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/10.17, allocations: 261 kB / 3.515 GB, free: 92.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/10.17, allocations: 1.25 kB / 3.515 GB, free: 92.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/10.17, allocations: 340 kB / 3.516 GB, free: 92.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/10.17, allocations: 409.8 kB / 3.516 GB, free: 92.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/10.17, allocations: 0.5352 MB / 3.517 GB, free: 91.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/10.17, allocations: 0.6218 MB / 3.517 GB, free: 91.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/10.17, allocations: 0 / 3.517 GB, free: 91.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003503/10.18, allocations: 1.216 MB / 3.519 GB, free: 91.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000197/10.18, allocations: 452.5 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/10.18, allocations: 5.109 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.534e-05/10.18, allocations: 4.812 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/10.18, allocations: 294.1 kB / 3.519 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/10.18, allocations: 1.208 MB / 3.52 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/10.18, allocations: 189.1 kB / 3.521 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/10.18, allocations: 35.92 kB / 3.521 GB, free: 89.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/10.18, allocations: 3.625 kB / 3.521 GB, free: 89.56 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003663/10.19, allocations: 1.1 MB / 3.522 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/10.19, allocations: 1.625 kB / 3.522 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/10.19, allocations: 4.344 kB / 3.522 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/10.19, allocations: 271.9 kB / 3.522 GB, free: 89.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/10.19, allocations: 3.938 kB / 3.522 GB, free: 89.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/10.19, allocations: 180.2 kB / 3.522 GB, free: 89.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/10.19, allocations: 42.75 kB / 3.522 GB, free: 89.19 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.0003893/10.19, allocations: 117.4 kB / 3.522 GB, free: 89.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004315/10.19, allocations: 104.5 kB / 3.522 GB, free: 89.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/10.19, allocations: 1.269 MB / 3.524 GB, free: 88.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/10.19, allocations: 7.219 kB / 3.524 GB, free: 88.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/10.19, allocations: 2.406 kB / 3.524 GB, free: 88.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/10.19, allocations: 3.797 kB / 3.524 GB, free: 88.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/10.2, allocations: 2.645 MB / 3.526 GB, free: 86.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/10.2, allocations: 3.656 kB / 3.526 GB, free: 86.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/10.2, allocations: 268.6 kB / 3.526 GB, free: 86.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.51e-05/10.2, allocations: 14.02 kB / 3.527 GB, free: 86.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/10.2, allocations: 22.72 kB / 3.527 GB, free: 86.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005181/10.2, allocations: 1.196 MB / 3.528 GB, free: 85.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/10.2, allocations: 4.125 kB / 3.528 GB, free: 85.7 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002977/10.21, allocations: 1.541 MB / 3.529 GB, free: 84.62 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003154/10.21, allocations: 2.055 MB / 3.531 GB, free: 82.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008943/10.21, allocations: 311.6 kB / 3.532 GB, free: 82.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/10.21, allocations: 11.56 kB / 3.532 GB, free: 82.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/10.21, allocations: 173.2 kB / 3.532 GB, free: 82.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/10.21, allocations: 44.44 kB / 3.532 GB, free: 82.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/10.21, allocations: 39.95 kB / 3.532 GB, free: 82.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000632/10.21, allocations: 450.7 kB / 3.532 GB, free: 81.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0051/10.22, allocations: 1.284 MB / 3.533 GB, free: 80.48 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.004255/10.22, allocations: 2.627 MB / 3.536 GB, free: 78.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003472/10.23, allocations: 1.604 MB / 3.538 GB, free: 76.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/10.23, allocations: 4 kB / 3.538 GB, free: 76.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/10.23, allocations: 0.5471 MB / 3.538 GB, free: 76.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/10.23, allocations: 405.6 kB / 3.539 GB, free: 75.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/10.25, allocations: 2.432 MB / 3.541 GB, free: 73.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/10.25, allocations: 1.229 MB / 3.542 GB, free: 72.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/10.25, allocations: 3.938 kB / 3.542 GB, free: 72.03 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)