Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.00105/0.00105, allocations: 176.9 kB / 8.514 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.137/1.137, allocations: 221.4 MB / 230.3 MB, free: 7.773 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.0008898/0.0008899, allocations: 92.66 kB / 281.2 MB, free: 5.52 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.157/0.157, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1785/0.3355, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.4358, allocations: 61.92 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6165/1.052, allocations: 339 MB / 0.8252 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.053, allocations: 92.95 kB / 0.8253 GB, free: 50.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 1.169/2.221, allocations: 464.9 MB / 1.279 GB, free: 240 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/2.221, allocations: 9.5 kB / 1.279 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/2.223, allocations: 233.9 kB / 1.28 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/2.225, allocations: 1.103 MB / 1.281 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/2.225, allocations: 44 kB / 1.281 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/2.225, allocations: 75.91 kB / 1.281 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002424/2.228, allocations: 1.391 MB / 1.282 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/2.23, allocations: 1.622 MB / 1.284 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/2.23, allocations: 7.938 kB / 1.284 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/2.23, allocations: 11.94 kB / 1.284 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/2.23, allocations: 40 kB / 1.284 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009672/2.24, allocations: 10.44 MB / 1.294 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1648/2.405, allocations: 0.6081 MB / 1.294 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/2.405, allocations: 365.8 kB / 1.295 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/2.409, allocations: 4.296 MB / 1.299 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/2.409, allocations: 49.94 kB / 1.299 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 1.904e-06/2.409, allocations: 0 / 1.299 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005163/2.414, allocations: 1.299 MB / 1.3 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/2.415, allocations: 369.3 kB / 1.301 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/2.416, allocations: 1.023 MB / 1.302 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/2.416, allocations: 28.58 kB / 1.302 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/2.416, allocations: 0.7522 MB / 1.302 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/2.416, allocations: 193.8 kB / 1.303 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/2.416, allocations: 0 / 1.303 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/2.416, allocations: 363.2 kB / 1.303 GB, free: 97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/2.417, allocations: 347.2 kB / 1.303 GB, free: 97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/2.418, allocations: 0.9395 MB / 1.304 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/2.422, allocations: 1.155 MB / 1.305 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/2.422, allocations: 7.781 kB / 1.305 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00581/2.428, allocations: 1.958 MB / 1.307 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/2.428, allocations: 3.719 kB / 1.307 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/2.428, allocations: 23.92 kB / 1.307 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/2.428, allocations: 30.44 kB / 1.307 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/2.431, allocations: 0.5208 MB / 1.308 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/2.432, allocations: 1.924 MB / 1.31 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/2.434, allocations: 198.2 kB / 1.31 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/2.434, allocations: 90.98 kB / 1.31 GB, free: 94.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002636/2.434, allocations: 165.6 kB / 1.31 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/2.435, allocations: 138 kB / 1.31 GB, free: 94.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/2.439, allocations: 2.047 MB / 1.312 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/2.439, allocations: 12.25 kB / 1.312 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.439, allocations: 0 / 1.312 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/2.439, allocations: 7.406 kB / 1.312 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/2.44, allocations: 1.018 MB / 1.313 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.44, allocations: 0 / 1.313 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009561/2.441, allocations: 242.9 kB / 1.314 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/2.442, allocations: 75.64 kB / 1.314 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/2.442, allocations: 29.08 kB / 1.314 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/2.443, allocations: 1.831 MB / 1.315 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/2.443, allocations: 0 / 1.315 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002711/2.446, allocations: 1.342 MB / 1.317 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002922/2.449, allocations: 1.819 MB / 1.319 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/2.449, allocations: 277.4 kB / 1.319 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/2.449, allocations: 3.906 kB / 1.319 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/2.45, allocations: 57.84 kB / 1.319 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/2.45, allocations: 63.92 kB / 1.319 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/2.45, allocations: 66.84 kB / 1.319 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0007662/2.451, allocations: 0.7452 MB / 1.32 GB, free: 91.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003285/2.454, allocations: 1.082 MB / 1.321 GB, free: 91.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/2.456, allocations: 1.262 MB / 1.322 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00384/2.46, allocations: 1.229 MB / 1.323 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/2.46, allocations: 3.922 kB / 1.323 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/2.462, allocations: 0.5317 MB / 1.324 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/2.464, allocations: 0.563 MB / 1.324 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/2.468, allocations: 1.822 MB / 1.326 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/2.469, allocations: 1.474 MB / 1.327 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/2.469, allocations: 0 / 1.327 GB, free: 89.66 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)