Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.9528/0.9528, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001418/0.001417, allocations: 193.2 kB / 164.4 MB, free: 6.875 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.897/1.897, allocations: 205.1 MB / 399.1 MB, free: 6.105 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.00126/0.00126, allocations: 79.52 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3891/0.3904, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.6023, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.452/7.054, allocations: 2.167 GB / 2.788 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/7.055, allocations: 86.83 kB / 2.788 GB, free: 220.8 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.676/10.73, allocations: 0.9924 GB / 3.781 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/10.73, allocations: 8 kB / 3.781 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/10.73, allocations: 0.5916 MB / 3.781 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/10.74, allocations: 1.074 MB / 3.782 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006823/10.74, allocations: 177.9 kB / 3.782 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/10.74, allocations: 52 kB / 3.782 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4279/11.17, allocations: 1.068 MB / 3.784 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/11.17, allocations: 1.032 MB / 3.785 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/11.17, allocations: 0 / 3.785 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/11.17, allocations: 0 / 3.785 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.447e-05/11.17, allocations: 46.3 kB / 3.785 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/11.18, allocations: 4.059 MB / 3.789 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/11.18, allocations: 0.7569 MB / 3.789 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/11.18, allocations: 0.5004 MB / 3.79 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/11.18, allocations: 0.6156 MB / 3.79 GB, free: 140 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/11.18, allocations: 38.38 kB / 3.79 GB, free: 140 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 3.848e-06/11.18, allocations: 0 / 3.79 GB, free: 140 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.003174/11.18, allocations: 1.246 MB / 3.792 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/11.18, allocations: 58.41 kB / 3.792 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/11.19, allocations: 0.5593 MB / 3.792 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/11.19, allocations: 32.73 kB / 3.792 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/11.19, allocations: 329.8 kB / 3.793 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/11.19, allocations: 244.5 kB / 3.793 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/11.19, allocations: 0 / 3.793 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000123/11.19, allocations: 331 kB / 3.793 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/11.19, allocations: 420.7 kB / 3.794 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/11.19, allocations: 0.5424 MB / 3.794 GB, free: 139 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/11.19, allocations: 0.6215 MB / 3.795 GB, free: 139 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/11.19, allocations: 0 / 3.795 GB, free: 139 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002398/11.19, allocations: 1.238 MB / 3.796 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/11.19, allocations: 360.5 kB / 3.796 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/11.19, allocations: 0 / 3.796 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/11.19, allocations: 3.5 kB / 3.796 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/11.19, allocations: 465.5 kB / 3.797 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/11.2, allocations: 1.351 MB / 3.798 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/11.2, allocations: 199.4 kB / 3.798 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/11.2, allocations: 35 kB / 3.798 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/11.2, allocations: 6.969 kB / 3.798 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/11.2, allocations: 1.099 MB / 3.799 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/11.2, allocations: 0 / 3.799 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/11.2, allocations: 3.781 kB / 3.799 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/11.2, allocations: 268 kB / 3.8 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/11.2, allocations: 6.906 kB / 3.8 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/11.2, allocations: 173.5 kB / 3.8 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/11.2, allocations: 35.81 kB / 3.8 GB, free: 137.3 MB / 0.6667 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.0003346/11.21, allocations: 126.9 kB / 3.8 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/11.21, allocations: 92.66 kB / 3.8 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/11.21, allocations: 1.283 MB / 3.801 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/11.21, allocations: 7.859 kB / 3.801 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/11.21, allocations: 3 kB / 3.801 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/11.21, allocations: 10.61 kB / 3.801 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/11.21, allocations: 2.654 MB / 3.804 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/11.21, allocations: 5.188 kB / 3.804 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/11.22, allocations: 469.7 kB / 3.804 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.24e-05/11.22, allocations: 7.062 kB / 3.804 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/11.22, allocations: 23.38 kB / 3.804 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/11.22, allocations: 2.914 MB / 3.807 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/11.22, allocations: 12.81 kB / 3.807 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002842/11.23, allocations: 1.527 MB / 3.809 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003854/11.23, allocations: 2.057 MB / 3.811 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009435/11.23, allocations: 301.9 kB / 3.811 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/11.23, allocations: 3.938 kB / 3.811 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/11.23, allocations: 173.4 kB / 3.811 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/11.23, allocations: 47.69 kB / 3.811 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/11.23, allocations: 39.73 kB / 3.811 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008553/11.23, allocations: 439.2 kB / 3.812 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006282/11.24, allocations: 1.283 MB / 3.813 GB, free: 132.4 MB / 0.6667 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.005759/11.25, allocations: 2.654 MB / 3.815 GB, free: 131.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005833/11.25, allocations: 1.855 MB / 3.817 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/11.25, allocations: 3.688 kB / 3.817 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/11.25, allocations: 0.8183 MB / 3.818 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/11.26, allocations: 409.7 kB / 3.818 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/11.28, allocations: 2.41 MB / 3.821 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/11.28, allocations: 1.228 MB / 3.822 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of SimCode: time 2.255e-06/11.28, allocations: 0 / 3.822 GB, free: 130.4 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)