Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8092/0.8092, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 94.86 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3919/0.3932, allocations: 82.88 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.5899, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.524/7.114, allocations: 2.167 GB / 2.788 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/7.115, allocations: 86.66 kB / 2.788 GB, free: 178.2 MB / 0.6355 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.759/10.87, allocations: 0.9928 GB / 3.781 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/10.87, allocations: 8 kB / 3.781 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/10.88, allocations: 0.5877 MB / 3.782 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/10.88, allocations: 1.074 MB / 3.783 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/10.88, allocations: 185.9 kB / 3.783 GB, free: 19.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000543/10.88, allocations: 52 kB / 3.783 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002576/10.89, allocations: 1.058 MB / 3.784 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/10.89, allocations: 1.033 MB / 3.785 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/10.89, allocations: 0 / 3.785 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/10.89, allocations: 0 / 3.785 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/10.89, allocations: 61.77 kB / 3.785 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009166/10.9, allocations: 4.059 MB / 3.789 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/10.9, allocations: 0.7544 MB / 3.79 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/10.9, allocations: 0.4987 MB / 3.79 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/10.9, allocations: 0.6243 MB / 3.791 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/10.9, allocations: 47.12 kB / 3.791 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 4.088e-06/10.9, allocations: 0 / 3.791 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.003484/10.9, allocations: 1.248 MB / 3.792 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/10.9, allocations: 64.05 kB / 3.792 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/10.91, allocations: 0.5434 MB / 3.793 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/10.91, allocations: 29.7 kB / 3.793 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/10.91, allocations: 332.2 kB / 3.793 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/10.91, allocations: 248.2 kB / 3.793 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/10.91, allocations: 0 / 3.793 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/10.91, allocations: 337.9 kB / 3.794 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/10.91, allocations: 421.4 kB / 3.794 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/10.91, allocations: 0.5339 MB / 3.795 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/10.91, allocations: 0.6198 MB / 3.795 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/10.91, allocations: 3.938 kB / 3.795 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002451/10.91, allocations: 1.241 MB / 3.797 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/10.91, allocations: 366.6 kB / 3.797 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/10.91, allocations: 0 / 3.797 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/10.91, allocations: 7.938 kB / 3.797 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/10.91, allocations: 459.5 kB / 3.797 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/10.92, allocations: 1.348 MB / 3.799 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/10.92, allocations: 191.4 kB / 3.799 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/10.92, allocations: 43.95 kB / 3.799 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/10.92, allocations: 6.188 kB / 3.799 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00223/10.92, allocations: 1.091 MB / 3.8 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/10.92, allocations: 12 kB / 3.8 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/10.92, allocations: 4 kB / 3.8 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/10.92, allocations: 263.7 kB / 3.8 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/10.92, allocations: 4 kB / 3.8 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/10.92, allocations: 183.3 kB / 3.8 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/10.92, allocations: 35.98 kB / 3.8 GB, free: 1.133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 82 * 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.0003757/10.92, allocations: 127.4 kB / 3.801 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/10.93, allocations: 90.88 kB / 3.801 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/10.93, allocations: 1.286 MB / 3.802 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/10.93, allocations: 12 kB / 3.802 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/10.93, allocations: 0 / 3.802 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/10.93, allocations: 3.984 kB / 3.802 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/10.94, allocations: 2.641 MB / 3.804 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/10.94, allocations: 4 kB / 3.804 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003217/10.94, allocations: 475.9 kB / 3.805 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/10.94, allocations: 8 kB / 3.805 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/10.94, allocations: 15.97 kB / 3.805 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/10.94, allocations: 2.922 MB / 3.808 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/10.94, allocations: 7.984 kB / 3.808 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003764/10.95, allocations: 1.527 MB / 3.809 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003769/10.95, allocations: 2.06 MB / 3.811 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/10.95, allocations: 291.7 kB / 3.812 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/10.95, allocations: 7.984 kB / 3.812 GB, free: 5.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/10.95, allocations: 175.7 kB / 3.812 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/10.95, allocations: 52.28 kB / 3.812 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/10.95, allocations: 39.95 kB / 3.812 GB, free: 4.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009965/10.96, allocations: 439.1 kB / 3.812 GB, free: 4.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006386/10.96, allocations: 1.276 MB / 3.814 GB, free: 3.066 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * 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.005185/10.97, allocations: 2.661 MB / 3.816 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4101/11.38, allocations: 1.86 MB / 3.818 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/11.38, allocations: 0 / 3.818 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002991/11.38, allocations: 0.8111 MB / 3.819 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/11.38, allocations: 409.1 kB / 3.819 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/11.4, allocations: 2.409 MB / 3.821 GB, free: 168.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/11.4, allocations: 1.23 MB / 3.823 GB, free: 168.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/11.4, allocations: 0 / 3.823 GB, free: 168.1 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)