Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001664, allocations: 171.2 kB / 8.146 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001963/0.001963, allocations: 103.4 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.047e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 58.84 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.4675, allocations: 92.19 MB / 0.5554 GB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.4679, allocations: 95.44 kB / 0.5555 GB, free: 6.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04179/0.5098, allocations: 7.375 MB / 0.5627 GB, free: 15.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5098, allocations: 0 / 0.5627 GB, free: 15.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007657/0.5106, allocations: 449.9 kB / 0.5631 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5107, allocations: 8.031 kB / 0.5632 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.5107, allocations: 7.906 kB / 0.5632 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.5109, allocations: 178.8 kB / 0.5633 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.5109, allocations: 4 kB / 0.5633 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.511, allocations: 8 kB / 0.5633 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003158/0.5113, allocations: 111.9 kB / 0.5635 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.5116, allocations: 113.6 kB / 0.5636 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5116, allocations: 0 / 0.5636 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.5117, allocations: 7.906 kB / 0.5636 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5117, allocations: 0 / 0.5636 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.513, allocations: 0.4953 MB / 0.5641 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.5133, allocations: 74.62 kB / 0.5641 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.5134, allocations: 32.86 kB / 0.5642 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.5135, allocations: 7.984 kB / 0.5642 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.5135, allocations: 34.56 kB / 0.5642 GB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.445e-06/0.5135, allocations: 0 / 0.5642 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00037/0.5139, allocations: 97.73 kB / 0.5643 GB, free: 13.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5139, allocations: 55.34 kB / 0.5643 GB, free: 13.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5141, allocations: 105.2 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5141, allocations: 25.7 kB / 0.5645 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5142, allocations: 182.1 kB / 0.5646 GB, free: 13.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.5143, allocations: 39.39 kB / 0.5647 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.5143, allocations: 0 / 0.5647 GB, free: 13.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5144, allocations: 323.8 kB / 0.565 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.5145, allocations: 23.98 kB / 0.565 GB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5147, allocations: 63.27 kB / 0.5651 GB, free: 12.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.5148, allocations: 31.98 kB / 0.5651 GB, free: 12.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5148, allocations: 0 / 0.5651 GB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003487/0.5152, allocations: 121.4 kB / 0.5652 GB, free: 12.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5152, allocations: 8 kB / 0.5652 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5152, allocations: 0 / 0.5652 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5152, allocations: 4 kB / 0.5652 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.5157, allocations: 56.05 kB / 0.5653 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/0.5163, allocations: 0.5859 MB / 0.5659 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5165, allocations: 16.02 kB / 0.5659 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5166, allocations: 8 kB / 0.5659 GB, free: 11.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.5167, allocations: 39.05 kB / 0.5659 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.5168, allocations: 8.281 kB / 0.5659 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.5173, allocations: 152.1 kB / 0.5661 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5174, allocations: 0 / 0.5661 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5174, allocations: 0 / 0.5661 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5174, allocations: 0 / 0.5661 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.5178, allocations: 174.1 kB / 0.5662 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5178, allocations: 0 / 0.5662 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.5183, allocations: 55.89 kB / 0.5663 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.5183, allocations: 0 / 0.5663 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.5183, allocations: 4 kB / 0.5663 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004939/0.5188, allocations: 0.5898 MB / 0.5669 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.5189, allocations: 4.094 kB / 0.5669 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004556/0.5193, allocations: 247.3 kB / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5195, allocations: 104.9 kB / 0.5672 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5195, allocations: 0 / 0.5672 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.5198, allocations: 7.984 kB / 0.5672 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.5198, allocations: 23.97 kB / 0.5672 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.5199, allocations: 4 kB / 0.5672 GB, free: 10.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.409e-05/0.5199, allocations: 87.28 kB / 0.5673 GB, free: 10.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000543/0.5205, allocations: 83.89 kB / 0.5674 GB, free: 10.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.521, allocations: 207.1 kB / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.5215, allocations: 91.92 kB / 0.5677 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5216, allocations: 0 / 0.5677 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.5219, allocations: 63.91 kB / 0.5677 GB, free: 9.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.5222, allocations: 3.859 kB / 0.5678 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.523, allocations: 206.2 kB / 0.5679 GB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.5234, allocations: 0.7348 MB / 0.5687 GB, free: 8.844 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5234, allocations: 0 / 0.5687 GB, free: 8.844 MB / 410.7 MB Notification: Performance of Templates: time 0.007711/0.5311, allocations: 2.746 MB / 0.5713 GB, free: 6.105 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)