Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_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.003319/0.003319, allocations: 180.4 kB / 7.461 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7153/0.7153, 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.652/1.652, 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.001051/0.001051, allocations: 89.33 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5138/0.5149, allocations: 88.43 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.6965, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.506/5.203, allocations: 1.858 GB / 2.491 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/5.203, allocations: 79.95 kB / 2.491 GB, free: 88.08 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.731/8.935, allocations: 1.012 GB / 3.503 GB, free: 95.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/8.935, allocations: 14.59 kB / 3.503 GB, free: 95.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/8.938, allocations: 0.5856 MB / 3.504 GB, free: 95.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/8.941, allocations: 1.081 MB / 3.505 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/8.942, allocations: 181.5 kB / 3.505 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/8.942, allocations: 49.06 kB / 3.505 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001656/8.944, allocations: 1.013 MB / 3.506 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/8.945, allocations: 1.046 MB / 3.507 GB, free: 94.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/8.945, allocations: 6.125 kB / 3.507 GB, free: 94.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/8.946, allocations: 0 / 3.507 GB, free: 94.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/8.946, allocations: 45.7 kB / 3.507 GB, free: 94.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006786/8.952, allocations: 4.097 MB / 3.511 GB, free: 93.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/8.954, allocations: 0.7266 MB / 3.512 GB, free: 93.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/8.954, allocations: 0.5025 MB / 3.512 GB, free: 93.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/8.955, allocations: 0.6156 MB / 3.513 GB, free: 92.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/8.955, allocations: 45.73 kB / 3.513 GB, free: 92.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/8.955, allocations: 0 / 3.513 GB, free: 92.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003533/8.959, allocations: 1.194 MB / 3.514 GB, free: 92.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/8.959, allocations: 64.44 kB / 3.514 GB, free: 92.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/8.96, allocations: 0.5562 MB / 3.515 GB, free: 92.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/8.96, allocations: 28.36 kB / 3.515 GB, free: 92.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/8.961, allocations: 331.6 kB / 3.515 GB, free: 91.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/8.961, allocations: 254.7 kB / 3.515 GB, free: 91.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/8.961, allocations: 2.281 kB / 3.515 GB, free: 91.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/8.961, allocations: 336.4 kB / 3.516 GB, free: 91.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/8.962, allocations: 406.8 kB / 3.516 GB, free: 91.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/8.963, allocations: 0.5427 MB / 3.517 GB, free: 91.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/8.964, allocations: 0.6094 MB / 3.517 GB, free: 91.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/8.964, allocations: 1 kB / 3.517 GB, free: 91.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002672/8.967, allocations: 1.22 MB / 3.519 GB, free: 91.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/8.967, allocations: 452.5 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/8.967, allocations: 3.406 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/8.967, allocations: 4.719 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/8.969, allocations: 293.1 kB / 3.519 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/8.969, allocations: 1.205 MB / 3.52 GB, free: 89.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/8.971, allocations: 189.2 kB / 3.521 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/8.971, allocations: 45.09 kB / 3.521 GB, free: 89.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/8.971, allocations: 4.438 kB / 3.521 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002441/8.974, allocations: 1.097 MB / 3.522 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/8.974, allocations: 1.219 kB / 3.522 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/8.974, allocations: 4.375 kB / 3.522 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/8.975, allocations: 268.1 kB / 3.522 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/8.975, allocations: 7.203 kB / 3.522 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/8.977, allocations: 178 kB / 3.522 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/8.977, allocations: 37.11 kB / 3.522 GB, free: 89.57 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.0002918/8.977, allocations: 127.3 kB / 3.522 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/8.978, allocations: 95.61 kB / 3.522 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/8.98, allocations: 1.27 MB / 3.524 GB, free: 89.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/8.98, allocations: 7.562 kB / 3.524 GB, free: 89.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/8.98, allocations: 3.938 kB / 3.524 GB, free: 89.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/8.98, allocations: 7.312 kB / 3.524 GB, free: 89.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/8.984, allocations: 2.639 MB / 3.526 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/8.984, allocations: 2.969 kB / 3.526 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/8.986, allocations: 270.5 kB / 3.526 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/8.986, allocations: 13.47 kB / 3.527 GB, free: 88.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/8.986, allocations: 18.02 kB / 3.527 GB, free: 88.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004027/8.986, allocations: 1.202 MB / 3.528 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/8.986, allocations: 7.344 kB / 3.528 GB, free: 87.7 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002065/8.988, allocations: 1.543 MB / 3.529 GB, free: 87.13 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002431/8.991, allocations: 2.057 MB / 3.531 GB, free: 85.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/8.991, allocations: 312.2 kB / 3.532 GB, free: 85.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/8.992, allocations: 5.875 kB / 3.532 GB, free: 85.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/8.993, allocations: 174.2 kB / 3.532 GB, free: 85.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/8.993, allocations: 50.25 kB / 3.532 GB, free: 85.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/8.993, allocations: 35.88 kB / 3.532 GB, free: 85.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006027/8.994, allocations: 442.4 kB / 3.532 GB, free: 85.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004457/8.998, allocations: 1.291 MB / 3.533 GB, free: 84.54 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.003745/9.002, allocations: 2.63 MB / 3.536 GB, free: 83.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003598/9.006, allocations: 1.606 MB / 3.538 GB, free: 83.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/9.006, allocations: 1.062 kB / 3.538 GB, free: 83.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/9.007, allocations: 0.5424 MB / 3.538 GB, free: 82.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/9.01, allocations: 407.8 kB / 3.539 GB, free: 82.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/9.027, allocations: 2.436 MB / 3.541 GB, free: 82.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/9.029, allocations: 1.234 MB / 3.542 GB, free: 81.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/9.029, allocations: 3.938 kB / 3.542 GB, free: 81.3 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)