Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_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.001571/0.001571, allocations: 183.6 kB / 7.801 MB, free: 1.191 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4799/0.4799, allocations: 90.85 MB / 99.06 MB, free: 8.926 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.3 MB / 342.7 MB, free: 4.637 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009644, allocations: 86.89 kB / 415.5 MB, free: 14.27 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1617/0.1627, allocations: 78.46 MB / 494 MB, free: 7.48 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.554, allocations: 72.31 MB / 0.553 GB, free: 61.61 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.327/3.881, allocations: 1.848 GB / 2.401 GB, free: 24.72 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/3.881, allocations: 84.58 kB / 2.402 GB, free: 24.68 MB / 0.6121 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.353/7.234, allocations: 1.012 GB / 3.413 GB, free: 75.22 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/7.234, allocations: 13.97 kB / 3.413 GB, free: 75.22 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/7.238, allocations: 0.5916 MB / 3.414 GB, free: 75.16 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/7.242, allocations: 1.086 MB / 3.415 GB, free: 74.88 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/7.243, allocations: 178.2 kB / 3.415 GB, free: 74.88 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/7.243, allocations: 49.78 kB / 3.415 GB, free: 74.88 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002313/7.245, allocations: 1.015 MB / 3.416 GB, free: 74.88 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/7.248, allocations: 1.043 MB / 3.417 GB, free: 74.8 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/7.248, allocations: 3.797 kB / 3.417 GB, free: 74.8 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/7.248, allocations: 0 / 3.417 GB, free: 74.8 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/7.248, allocations: 48.67 kB / 3.417 GB, free: 74.79 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007032/7.255, allocations: 4.09 MB / 3.421 GB, free: 73.31 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/7.256, allocations: 0.7248 MB / 3.422 GB, free: 73.28 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/7.257, allocations: 0.505 MB / 3.422 GB, free: 73.27 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009985/7.258, allocations: 0.6179 MB / 3.423 GB, free: 72.71 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/7.258, allocations: 44.66 kB / 3.423 GB, free: 72.67 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=76): time 3.717e-06/7.258, allocations: 3.031 kB / 3.423 GB, free: 72.67 MB / 0.6277 GB Notification: Performance of matching and sorting (n=76): time 0.002594/7.26, allocations: 1.194 MB / 3.424 GB, free: 72.58 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/7.26, allocations: 62.72 kB / 3.424 GB, free: 72.52 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/7.261, allocations: 0.5567 MB / 3.425 GB, free: 72.4 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/7.261, allocations: 31.89 kB / 3.425 GB, free: 72.37 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/7.261, allocations: 333.2 kB / 3.425 GB, free: 72.21 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/7.262, allocations: 247.5 kB / 3.425 GB, free: 72.08 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/7.262, allocations: 0 / 3.425 GB, free: 72.08 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/7.262, allocations: 337 kB / 3.426 GB, free: 71.78 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/7.262, allocations: 407.7 kB / 3.426 GB, free: 71.77 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/7.263, allocations: 0.5372 MB / 3.426 GB, free: 71.65 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/7.264, allocations: 0.612 MB / 3.427 GB, free: 71.64 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/7.264, allocations: 3.781 kB / 3.427 GB, free: 71.64 MB / 0.6277 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002149/7.266, allocations: 1.22 MB / 3.428 GB, free: 71.55 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/7.266, allocations: 450.7 kB / 3.429 GB, free: 71.1 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/7.266, allocations: 0 / 3.429 GB, free: 71.1 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/7.266, allocations: 7.719 kB / 3.429 GB, free: 71.1 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/7.268, allocations: 301.9 kB / 3.429 GB, free: 71.1 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005924/7.269, allocations: 1.208 MB / 3.43 GB, free: 69.93 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/7.27, allocations: 182.5 kB / 3.43 GB, free: 69.91 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/7.27, allocations: 40.38 kB / 3.43 GB, free: 69.91 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/7.27, allocations: 3.938 kB / 3.43 GB, free: 69.91 MB / 0.6277 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/7.272, allocations: 1.096 MB / 3.431 GB, free: 69.9 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/7.272, allocations: 6.5 kB / 3.431 GB, free: 69.9 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/7.272, allocations: 2.406 kB / 3.431 GB, free: 69.9 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/7.274, allocations: 271.6 kB / 3.432 GB, free: 69.9 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/7.274, allocations: 3.844 kB / 3.432 GB, free: 69.9 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/7.275, allocations: 178.3 kB / 3.432 GB, free: 69.89 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/7.275, allocations: 42.64 kB / 3.432 GB, free: 69.88 MB / 0.6277 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.0002461/7.275, allocations: 121.1 kB / 3.432 GB, free: 69.78 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/7.276, allocations: 103.3 kB / 3.432 GB, free: 69.73 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/7.278, allocations: 1.27 MB / 3.433 GB, free: 69.66 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/7.278, allocations: 7.812 kB / 3.433 GB, free: 69.66 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.278, allocations: 3.125 kB / 3.433 GB, free: 69.66 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/7.278, allocations: 3.75 kB / 3.433 GB, free: 69.66 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/7.283, allocations: 2.644 MB / 3.436 GB, free: 69.24 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/7.283, allocations: 4.875 kB / 3.436 GB, free: 69.24 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/7.284, allocations: 269.3 kB / 3.436 GB, free: 69.24 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/7.284, allocations: 6.062 kB / 3.436 GB, free: 69.24 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-05/7.284, allocations: 20.98 kB / 3.436 GB, free: 69.24 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005268/7.285, allocations: 1.204 MB / 3.437 GB, free: 68.07 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/7.285, allocations: 3.688 kB / 3.437 GB, free: 68.07 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002399/7.287, allocations: 1.537 MB / 3.439 GB, free: 67.5 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002738/7.29, allocations: 2.06 MB / 3.441 GB, free: 66.57 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/7.29, allocations: 307.5 kB / 3.441 GB, free: 66.43 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/7.291, allocations: 7.625 kB / 3.441 GB, free: 66.43 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/7.292, allocations: 170 kB / 3.441 GB, free: 66.42 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/7.292, allocations: 54.89 kB / 3.441 GB, free: 66.42 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/7.292, allocations: 41.23 kB / 3.442 GB, free: 66.42 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0005699/7.293, allocations: 446.3 kB / 3.442 GB, free: 66.33 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.004237/7.297, allocations: 1.293 MB / 3.443 GB, free: 66.28 MB / 0.6277 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.0036/7.301, allocations: 2.624 MB / 3.446 GB, free: 65.46 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.002942/7.304, allocations: 1.601 MB / 3.447 GB, free: 65.38 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/7.304, allocations: 5.406 kB / 3.447 GB, free: 65.38 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/7.305, allocations: 0.5418 MB / 3.448 GB, free: 65.38 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/7.307, allocations: 415.1 kB / 3.448 GB, free: 65.37 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/7.322, allocations: 2.418 MB / 3.451 GB, free: 64.9 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/7.323, allocations: 1.24 MB / 3.452 GB, free: 64.19 MB / 0.6277 GB Notification: Performance of SimCode: time 2.084e-06/7.323, allocations: 1.531 kB / 3.452 GB, free: 64.19 MB / 0.6277 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)