Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.0009683/0.0009683, allocations: 179 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.4 MB / 230.3 MB, free: 7.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009007, allocations: 87.98 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.154/0.154, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1878/0.3418, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.4369, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8375/1.274, allocations: 0.4939 GB / 0.988 GB, free: 113 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/1.275, allocations: 91.78 kB / 0.9881 GB, free: 112.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.5999/1.875, allocations: 236.2 MB / 1.219 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.875, allocations: 17.19 kB / 1.219 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.876, allocations: 159 kB / 1.219 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/1.877, allocations: 0.4985 MB / 1.219 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.877, allocations: 12 kB / 1.219 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/1.877, allocations: 28 kB / 1.219 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006558/1.877, allocations: 433.8 kB / 1.22 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/1.878, allocations: 0.5469 MB / 1.22 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.878, allocations: 0 / 1.22 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/1.878, allocations: 4 kB / 1.22 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.878, allocations: 12 kB / 1.22 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/1.881, allocations: 2.636 MB / 1.223 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/1.881, allocations: 222.7 kB / 1.223 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/1.881, allocations: 120.8 kB / 1.223 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/1.881, allocations: 441 kB / 1.224 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.882, allocations: 38.56 kB / 1.224 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/1.882, allocations: 0 / 1.224 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.002258/1.884, allocations: 0.6891 MB / 1.224 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/1.884, allocations: 158.2 kB / 1.225 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/1.884, allocations: 381.1 kB / 1.225 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/1.884, allocations: 25.7 kB / 1.225 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/1.884, allocations: 267.2 kB / 1.225 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/1.884, allocations: 110.4 kB / 1.225 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/1.884, allocations: 0 / 1.225 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/1.885, allocations: 354.8 kB / 1.226 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.885, allocations: 128.9 kB / 1.226 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/1.885, allocations: 301.4 kB / 1.226 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.887, allocations: 0.5069 MB / 1.227 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.887, allocations: 0 / 1.227 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002357/1.889, allocations: 0.8367 MB / 1.227 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.889, allocations: 6.031 kB / 1.227 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.889, allocations: 8 kB / 1.227 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/1.889, allocations: 52.77 kB / 1.227 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/1.89, allocations: 120.4 kB / 1.228 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004267/1.89, allocations: 0.6147 MB / 1.228 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.891, allocations: 55.62 kB / 1.228 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/1.891, allocations: 51.98 kB / 1.228 GB, free: 65.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.891, allocations: 120.8 kB / 1.228 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/1.891, allocations: 47.44 kB / 1.228 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/1.893, allocations: 1.432 MB / 1.23 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.893, allocations: 4 kB / 1.23 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.893, allocations: 0 / 1.23 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.893, allocations: 3.984 kB / 1.23 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/1.895, allocations: 1.163 MB / 1.231 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.895, allocations: 4 kB / 1.231 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.895, allocations: 48.16 kB / 1.231 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/1.895, allocations: 48.84 kB / 1.231 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.895, allocations: 7.984 kB / 1.231 GB, free: 62.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/1.896, allocations: 0.603 MB / 1.232 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.896, allocations: 7.938 kB / 1.232 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/1.897, allocations: 0.6632 MB / 1.232 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001189/1.898, allocations: 1.09 MB / 1.233 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.898, allocations: 144.5 kB / 1.234 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.898, allocations: 15.89 kB / 1.234 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/1.899, allocations: 15.98 kB / 1.234 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/1.899, allocations: 27.91 kB / 1.234 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/1.899, allocations: 15.98 kB / 1.234 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002865/1.899, allocations: 326.9 kB / 1.234 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001847/1.901, allocations: 471.4 kB / 1.234 GB, free: 58.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/1.903, allocations: 1.295 MB / 1.236 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000582/1.903, allocations: 328.6 kB / 1.236 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.903, allocations: 4.062 kB / 1.236 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/1.904, allocations: 123.8 kB / 1.236 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.906, allocations: 246 kB / 1.236 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/1.907, allocations: 0.6075 MB / 1.237 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/1.908, allocations: 1.034 MB / 1.238 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.908, allocations: 0 / 1.238 GB, free: 55.03 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)