Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [: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 1.1.0/package.mo): time 0.001744/0.001744, allocations: 154 kB / 7.432 MB, free: 2.5 MB / 5.871 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.718/0.718, allocations: 150.5 MB / 158.4 MB, free: 6.289 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001368/0.001368, allocations: 90.11 kB / 193.3 MB, free: 1.188 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04662/0.04662, allocations: 11.72 MB / 239.9 MB, free: 2.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.821e-06, allocations: 0 / 283.1 MB, free: 31.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05069/0.05071, allocations: 37.13 MB / 320.2 MB, free: 10.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.2056, allocations: 47.39 MB / 367.6 MB, free: 1.574 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.2058, allocations: 67.95 kB / 367.6 MB, free: 1.508 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.007399/0.2133, allocations: 2.6 MB / 370.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2133, allocations: 4 kB / 370.2 MB, free: 14.9 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003639/0.2137, allocations: 396.2 kB / 370.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2137, allocations: 8.031 kB / 370.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2138, allocations: 16.56 kB / 370.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.214, allocations: 194.9 kB / 370.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.214, allocations: 4 kB / 370.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.214, allocations: 4 kB / 370.9 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.2141, allocations: 43.98 kB / 370.9 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2143, allocations: 77.61 kB / 371 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2143, allocations: 3.984 kB / 371 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2143, allocations: 0 / 371 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2143, allocations: 7.938 kB / 371 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.2149, allocations: 473.6 kB / 371.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.215, allocations: 44.95 kB / 371.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.215, allocations: 12.98 kB / 371.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.215, allocations: 4.156 kB / 371.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2151, allocations: 42.45 kB / 371.5 MB, free: 13.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2151, allocations: 0 / 371.5 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002416/0.2153, allocations: 61.59 kB / 371.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2154, allocations: 80.83 kB / 371.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.2155, allocations: 125.3 kB / 371.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2155, allocations: 25.7 kB / 371.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2156, allocations: 103.9 kB / 371.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.2156, allocations: 15.75 kB / 372 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.2156, allocations: 0 / 372 MB, free: 12.97 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2157, allocations: 330.7 kB / 372.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.2157, allocations: 15.98 kB / 372.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.2158, allocations: 19.98 kB / 372.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.2159, allocations: 19.97 kB / 372.3 MB, free: 12.58 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2159, allocations: 8 kB / 372.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00018/0.2161, allocations: 77.58 kB / 372.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2161, allocations: 8 kB / 372.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2161, allocations: 0 / 372.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2161, allocations: 0 / 372.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.2162, allocations: 11.98 kB / 372.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2162, allocations: 4 kB / 372.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.2163, allocations: 4 kB / 372.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2163, allocations: 0 / 372.4 MB, free: 12.46 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.2164, allocations: 143.7 kB / 372.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.2165, allocations: 11.91 kB / 372.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.2166, allocations: 73.92 kB / 372.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2166, allocations: 0 / 372.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2166, allocations: 0 / 372.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2166, allocations: 0 / 372.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.217, allocations: 323.8 kB / 373 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.217, allocations: 0 / 373 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.217, allocations: 11.91 kB / 373 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.217, allocations: 4.031 kB / 373 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2171, allocations: 4 kB / 373 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2171, allocations: 0 / 373 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2171, allocations: 0 / 373 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001645/0.2172, allocations: 178 kB / 373.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.2173, allocations: 93 kB / 373.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2174, allocations: 19.78 kB / 373.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.2174, allocations: 0 / 373.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.2175, allocations: 4.031 kB / 373.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2175, allocations: 7.984 kB / 373.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.572e-05/0.2176, allocations: 111 kB / 373.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.2178, allocations: 24 kB / 373.4 MB, free: 11.37 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.2179, allocations: 103.2 kB / 373.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2181, allocations: 73.61 kB / 373.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2181, allocations: 4 kB / 373.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.2181, allocations: 41.7 kB / 373.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2184, allocations: 36.16 kB / 373.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.2188, allocations: 128.3 kB / 373.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.2191, allocations: 0.7152 MB / 374.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2191, allocations: 4 kB / 374.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of Templates: time 0.003359/0.2225, allocations: 1.277 MB / 375.8 MB, free: 8.941 MB / 250.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)