Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_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.00123/0.00123, allocations: 185.1 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4577/0.4577, allocations: 90.85 MB / 99.06 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.4 MB / 342.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 97.08 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1691/0.1702, allocations: 78.45 MB / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.5546, allocations: 72.29 MB / 0.553 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.875/4.43, allocations: 1.848 GB / 2.401 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/4.43, allocations: 82.03 kB / 2.401 GB, free: 164.8 MB / 0.6042 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.57/8.001, allocations: 1.011 GB / 3.413 GB, free: 73.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/8.001, allocations: 8.125 kB / 3.413 GB, free: 73.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/8.005, allocations: 0.5903 MB / 3.413 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/8.009, allocations: 1.091 MB / 3.414 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007041/8.01, allocations: 181.7 kB / 3.414 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005267/8.011, allocations: 50.16 kB / 3.414 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002667/8.013, allocations: 1.009 MB / 3.415 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/8.016, allocations: 1.051 MB / 3.416 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/8.016, allocations: 0 / 3.416 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/8.016, allocations: 2 kB / 3.416 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/8.016, allocations: 44.48 kB / 3.416 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/8.026, allocations: 4.092 MB / 3.42 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/8.027, allocations: 0.7228 MB / 3.421 GB, free: 70.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/8.028, allocations: 0.5089 MB / 3.422 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/8.029, allocations: 0.6191 MB / 3.422 GB, free: 69.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/8.029, allocations: 43.03 kB / 3.422 GB, free: 69.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 4.369e-06/8.029, allocations: 0 / 3.422 GB, free: 69.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.003061/8.032, allocations: 1.195 MB / 3.423 GB, free: 68.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/8.032, allocations: 58.25 kB / 3.424 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/8.033, allocations: 0.5654 MB / 3.424 GB, free: 68.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/8.033, allocations: 32.48 kB / 3.424 GB, free: 68.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/8.034, allocations: 333.5 kB / 3.424 GB, free: 68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/8.034, allocations: 249.3 kB / 3.425 GB, free: 67.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/8.034, allocations: 3.125 kB / 3.425 GB, free: 67.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/8.034, allocations: 332.2 kB / 3.425 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/8.035, allocations: 410.4 kB / 3.425 GB, free: 67.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/8.035, allocations: 0.5309 MB / 3.426 GB, free: 66.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/8.037, allocations: 0.6201 MB / 3.426 GB, free: 66.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/8.037, allocations: 3.312 kB / 3.426 GB, free: 66.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002601/8.039, allocations: 1.214 MB / 3.428 GB, free: 66.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/8.04, allocations: 463.3 kB / 3.428 GB, free: 65.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/8.04, allocations: 0 / 3.428 GB, free: 65.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/8.04, allocations: 6.312 kB / 3.428 GB, free: 65.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/8.042, allocations: 292.6 kB / 3.428 GB, free: 65.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008526/8.042, allocations: 1.208 MB / 3.43 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/8.044, allocations: 190.1 kB / 3.43 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/8.044, allocations: 42.81 kB / 3.43 GB, free: 64.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/8.044, allocations: 5.031 kB / 3.43 GB, free: 64.19 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002432/8.047, allocations: 1.093 MB / 3.431 GB, free: 63.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/8.047, allocations: 3.984 kB / 3.431 GB, free: 63.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/8.047, allocations: 4 kB / 3.431 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/8.048, allocations: 267.5 kB / 3.431 GB, free: 63.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/8.048, allocations: 4 kB / 3.431 GB, free: 63.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/8.05, allocations: 177.1 kB / 3.431 GB, free: 62.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/8.05, allocations: 47.91 kB / 3.431 GB, free: 62.84 MB / 0.6198 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.0003748/8.051, allocations: 119.3 kB / 3.431 GB, free: 62.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/8.051, allocations: 102.8 kB / 3.432 GB, free: 62.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/8.054, allocations: 1.267 MB / 3.433 GB, free: 61.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/8.054, allocations: 8 kB / 3.433 GB, free: 61.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/8.054, allocations: 0 / 3.433 GB, free: 61.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/8.054, allocations: 3.984 kB / 3.433 GB, free: 61.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/8.059, allocations: 2.643 MB / 3.435 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/8.059, allocations: 4 kB / 3.435 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/8.061, allocations: 278 kB / 3.436 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/8.061, allocations: 8 kB / 3.436 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/8.061, allocations: 15.98 kB / 3.436 GB, free: 58.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005126/8.062, allocations: 1.199 MB / 3.437 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/8.062, allocations: 7.938 kB / 3.437 GB, free: 57.11 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002569/8.064, allocations: 1.543 MB / 3.438 GB, free: 55.43 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003093/8.067, allocations: 2.058 MB / 3.44 GB, free: 53.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/8.068, allocations: 303.7 kB / 3.441 GB, free: 52.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/8.069, allocations: 4 kB / 3.441 GB, free: 52.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/8.07, allocations: 171.4 kB / 3.441 GB, free: 52.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/8.07, allocations: 56.33 kB / 3.441 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/8.071, allocations: 39.97 kB / 3.441 GB, free: 52.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007822/8.071, allocations: 442 kB / 3.441 GB, free: 52.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005617/8.077, allocations: 1.284 MB / 3.443 GB, free: 50.95 MB / 0.6198 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.004419/8.081, allocations: 2.642 MB / 3.445 GB, free: 48.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003726/8.085, allocations: 1.6 MB / 3.447 GB, free: 47.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/8.085, allocations: 7.406 kB / 3.447 GB, free: 47.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/8.086, allocations: 0.5366 MB / 3.447 GB, free: 46.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/8.089, allocations: 412.3 kB / 3.448 GB, free: 46.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/8.106, allocations: 2.421 MB / 3.45 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/8.108, allocations: 1.232 MB / 3.451 GB, free: 42.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.783e-06/8.108, allocations: 0.75 kB / 3.451 GB, free: 42.5 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)