Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",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.002236/0.002236, allocations: 149.2 kB / 7.426 MB, free: 2.516 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.7409/0.7409, 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.001202/0.001202, allocations: 89.62 kB / 193.3 MB, free: 1.234 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04627/0.04627, allocations: 11.72 MB / 239.9 MB, free: 2.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.109/0.1553, allocations: 43.24 MB / 283.1 MB, free: 31.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05321/0.2085, allocations: 37.14 MB / 320.3 MB, free: 10.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.3693, allocations: 50.9 MB / 371.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3695, allocations: 60.72 kB / 371.2 MB, free: 13.89 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.02193/0.3915, allocations: 8.218 MB / 379.5 MB, free: 5.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3915, allocations: 8 kB / 379.5 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.3916, allocations: 27.72 kB / 379.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.392, allocations: 262.5 kB / 379.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.392, allocations: 8 kB / 379.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3921, allocations: 15.84 kB / 379.8 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002418/0.3923, allocations: 123.9 kB / 379.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.3926, allocations: 175.7 kB / 380.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3926, allocations: 3.984 kB / 380.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3926, allocations: 0 / 380.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3926, allocations: 4 kB / 380.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.3939, allocations: 1.32 MB / 381.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.394, allocations: 53.77 kB / 381.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.3941, allocations: 32.86 kB / 381.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.001e-05/0.3942, allocations: 93.17 kB / 381.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3942, allocations: 34.56 kB / 381.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.3942, allocations: 0 / 381.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001201/0.3954, allocations: 317 kB / 381.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3955, allocations: 55.39 kB / 382 MB, free: 2.82 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.3958, allocations: 196.1 kB / 382.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3958, allocations: 25.7 kB / 382.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3959, allocations: 151.8 kB / 382.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.3959, allocations: 43.45 kB / 382.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.3959, allocations: 0 / 382.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.396, allocations: 330.8 kB / 382.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.3961, allocations: 36 kB / 382.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.3962, allocations: 84.27 kB / 382.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.3966, allocations: 85.56 kB / 382.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3966, allocations: 3.938 kB / 382.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004812/0.397, allocations: 209.2 kB / 383.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3971, allocations: 4 kB / 383.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3971, allocations: 0 / 383.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3971, allocations: 4 kB / 383.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3973, allocations: 43.97 kB / 383.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3973, allocations: 12.12 kB / 383.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3975, allocations: 23.97 kB / 383.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3976, allocations: 8 kB / 383.2 MB, free: 1.539 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 7.59e-05/0.3976, allocations: 118 kB / 383.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.3977, allocations: 15.81 kB / 383.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.3981, allocations: 171.4 kB / 383.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3982, allocations: 0 / 383.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3982, allocations: 7.906 kB / 383.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3982, allocations: 0 / 383.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3984, allocations: 246 kB / 383.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3985, allocations: 4 kB / 383.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3986, allocations: 35.97 kB / 383.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3987, allocations: 7.922 kB / 383.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3987, allocations: 3.938 kB / 383.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3987, allocations: 0 / 383.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3987, allocations: 8 kB / 383.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003998/0.3991, allocations: 251.2 kB / 384.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004849/0.3996, allocations: 0.6323 MB / 384.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.3997, allocations: 112.8 kB / 384.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3997, allocations: 3.984 kB / 384.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3999, allocations: 15.98 kB / 384.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.4, allocations: 15.98 kB / 384.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4, allocations: 4 kB / 384.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001175/0.4001, allocations: 152.5 kB / 385 MB, free: 15.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009005/0.401, allocations: 111.8 kB / 385.1 MB, free: 15.55 MB / 266.7 MB 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 (11): * Single equations (assignments): 11 * 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.0002553/0.4013, allocations: 167.1 kB / 385.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4015, allocations: 109.8 kB / 385.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4015, allocations: 4.969 kB / 385.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.4016, allocations: 47.94 kB / 385.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.4021, allocations: 86.08 kB / 385.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.4027, allocations: 244.3 kB / 385.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.4031, allocations: 0.7821 MB / 386.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4031, allocations: 0 / 386.5 MB, free: 14.07 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)