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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",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 1.1.0/package.mo): time 0.00126/0.00126, allocations: 150.5 kB / 7.429 MB, free: 0 / 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.7593/0.7593, allocations: 150.5 MB / 158.3 MB, free: 6.285 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001319/0.001319, allocations: 90.8 kB / 193.3 MB, free: 1.184 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04647/0.04647, allocations: 11.72 MB / 239.9 MB, free: 2.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1147/0.1612, allocations: 43.24 MB / 283.2 MB, free: 31.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05919/0.2204, allocations: 37.12 MB / 320.3 MB, free: 10.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.3769, allocations: 47.39 MB / 367.7 MB, free: 1.578 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3772, allocations: 63.97 kB / 367.7 MB, free: 1.516 MB / 234.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.007502/0.3847, allocations: 3.009 MB / 370.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3848, allocations: 8 kB / 370.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3848, allocations: 15.81 kB / 370.8 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.385, allocations: 194.8 kB / 371 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3851, allocations: 4 kB / 371 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3851, allocations: 4 kB / 371 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/0.3852, allocations: 47.92 kB / 371 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3853, allocations: 69.67 kB / 371.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3853, allocations: 0 / 371.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3854, allocations: 7.984 kB / 371.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3854, allocations: 4 kB / 371.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3859, allocations: 477.5 kB / 371.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/0.386, allocations: 42.55 kB / 371.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.386, allocations: 12.98 kB / 371.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.386, allocations: 8.156 kB / 371.6 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3861, allocations: 34.47 kB / 371.6 MB, free: 13.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3861, allocations: 0 / 371.6 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002034/0.3863, allocations: 69.52 kB / 371.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.3863, allocations: 81.11 kB / 371.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.3864, allocations: 121.3 kB / 371.9 MB, free: 13.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.3864, allocations: 29.31 kB / 371.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.3865, allocations: 103.9 kB / 372 MB, free: 12.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.3865, allocations: 19.75 kB / 372.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3865, allocations: 0 / 372.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.3866, allocations: 326.7 kB / 372.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.3866, allocations: 12 kB / 372.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.3867, allocations: 16 kB / 372.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.3868, allocations: 24.12 kB / 372.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3868, allocations: 0 / 372.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001727/0.387, allocations: 81.56 kB / 372.5 MB, free: 12.49 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.387, allocations: 11.44 kB / 372.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.387, allocations: 4 kB / 372.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.387, allocations: 0 / 372.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.3871, allocations: 15.92 kB / 372.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3871, allocations: 4 kB / 372.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.3872, allocations: 0 / 372.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3872, allocations: 0 / 372.5 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 7.261e-05/0.3873, allocations: 139.8 kB / 372.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3873, allocations: 7.906 kB / 372.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.3875, allocations: 77.92 kB / 372.8 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3875, allocations: 0 / 372.8 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3875, allocations: 0 / 372.8 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3875, allocations: 3.938 kB / 372.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.3878, allocations: 323.8 kB / 373.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3878, allocations: 0 / 373.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.3879, allocations: 15.84 kB / 373.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3879, allocations: 3.984 kB / 373.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3879, allocations: 0 / 373.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3879, allocations: 32 / 373.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3879, allocations: 11.94 kB / 373.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001275/0.388, allocations: 174 kB / 373.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002203/0.3883, allocations: 0.5453 MB / 373.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3883, allocations: 97 kB / 373.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3884, allocations: 3.938 kB / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.3884, allocations: 0 / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.3885, allocations: 11.92 kB / 373.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3885, allocations: 3.906 kB / 373.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.255e-05/0.3886, allocations: 111 kB / 374.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007663/0.3893, allocations: 32 kB / 374.1 MB, free: 10.78 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.0001073/0.3894, allocations: 103.2 kB / 374.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3896, allocations: 61.88 kB / 374.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3896, allocations: 4 kB / 374.3 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.3896, allocations: 41.64 kB / 374.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3899, allocations: 33.78 kB / 374.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.3902, allocations: 124.2 kB / 374.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.3905, allocations: 0.7153 MB / 375.2 MB, free: 9.629 MB / 250.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3905, allocations: 0 / 375.2 MB, free: 9.629 MB / 250.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)