Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.002063/0.002063, allocations: 148 kB / 7.427 MB, free: 2.504 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.7633/0.7633, allocations: 150.5 MB / 158.4 MB, free: 6.297 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.0013/0.0013, allocations: 86.08 kB / 193.3 MB, free: 1.195 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04579/0.04579, allocations: 11.72 MB / 239.9 MB, free: 2.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1088/0.1546, allocations: 43.23 MB / 283.1 MB, free: 31.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05691/0.2115, allocations: 37.13 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.375, allocations: 49.74 MB / 370 MB, free: 15.15 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001492/0.3752, allocations: 59.97 kB / 370.1 MB, free: 15.09 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.01802/0.3932, allocations: 6.619 MB / 376.7 MB, free: 8.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3933, allocations: 12 kB / 376.7 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.3933, allocations: 15.81 kB / 376.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3936, allocations: 215.4 kB / 376.9 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3937, allocations: 7.938 kB / 376.9 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3937, allocations: 4 kB / 376.9 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002158/0.3939, allocations: 112 kB / 377.1 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3941, allocations: 101.7 kB / 377.2 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3941, allocations: 7.844 kB / 377.2 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3941, allocations: 3.984 kB / 377.2 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3942, allocations: 4 kB / 377.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3953, allocations: 0.8766 MB / 378 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3954, allocations: 50.58 kB / 378.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.3954, allocations: 16.98 kB / 378.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.3956, allocations: 89.09 kB / 378.2 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3956, allocations: 34.56 kB / 378.2 MB, free: 6.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.3956, allocations: 4 kB / 378.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009305/0.3966, allocations: 161.4 kB / 378.4 MB, free: 6.492 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3966, allocations: 55.41 kB / 378.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3967, allocations: 150.8 kB / 378.6 MB, free: 6.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3968, allocations: 25.7 kB / 378.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3968, allocations: 111.7 kB / 378.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3968, allocations: 23.7 kB / 378.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.3969, allocations: 0 / 378.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.3969, allocations: 322.8 kB / 379.1 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.397, allocations: 24 kB / 379.1 MB, free: 5.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.397, allocations: 20 kB / 379.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.3978, allocations: 131.9 kB / 379.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3978, allocations: 0 / 379.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008655/0.3987, allocations: 205.4 kB / 379.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3987, allocations: 4.281 kB / 379.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3988, allocations: 0 / 379.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3988, allocations: 4 kB / 379.5 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3989, allocations: 27.83 kB / 379.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3989, allocations: 0 / 379.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.399, allocations: 3.938 kB / 379.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.399, allocations: 7.938 kB / 379.5 MB, free: 5.352 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.3991, allocations: 108.9 kB / 379.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3991, allocations: 7.906 kB / 379.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.3998, allocations: 185.7 kB / 379.8 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3999, allocations: 4 kB / 379.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3999, allocations: 4.031 kB / 379.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3999, allocations: 4 kB / 379.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.401, allocations: 0.6284 MB / 380.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.401, allocations: 4 kB / 380.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.4011, allocations: 11.98 kB / 380.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4011, allocations: 4.094 kB / 380.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.4011, allocations: 8 kB / 380.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4011, allocations: 3.906 kB / 380.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4011, allocations: 7.938 kB / 380.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006427/0.4018, allocations: 247.2 kB / 380.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007933/0.4026, allocations: 0.629 MB / 381.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.4027, allocations: 101 kB / 381.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.4027, allocations: 4 kB / 381.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.4028, allocations: 0 / 381.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.4028, allocations: 4 kB / 381.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.4028, allocations: 0 / 381.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.0001087/0.4029, allocations: 131.9 kB / 381.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009266/0.4039, allocations: 103.8 kB / 381.7 MB, free: 2.945 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003279/0.4042, allocations: 187 kB / 381.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4043, allocations: 59.92 kB / 381.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4044, allocations: 0 / 381.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.4044, allocations: 23.94 kB / 381.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4047, allocations: 50.34 kB / 382 MB, free: 2.621 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.4051, allocations: 158.9 kB / 382.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.4054, allocations: 0.7348 MB / 382.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/0.4054, allocations: 192 / 382.9 MB, free: 1.672 MB / 250.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)