Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",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.002667/0.002667, allocations: 150.1 kB / 7.429 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.7557/0.7557, 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.001317/0.001317, allocations: 88.81 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.04676/0.04676, allocations: 11.71 MB / 239.9 MB, free: 2.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1135/0.1603, allocations: 43.25 MB / 283.2 MB, free: 31.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05455/0.2148, allocations: 37.13 MB / 320.3 MB, free: 10.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.3638, allocations: 52.51 MB / 372.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.364, allocations: 67.97 kB / 372.9 MB, free: 12.25 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.02604/0.3901, allocations: 10.29 MB / 383.2 MB, free: 1.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3901, allocations: 12 kB / 383.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3902, allocations: 43.52 kB / 383.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3907, allocations: 322.5 kB / 383.5 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3907, allocations: 20 kB / 383.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.3908, allocations: 16 kB / 383.6 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004027/0.3912, allocations: 241.2 kB / 383.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3916, allocations: 279.8 kB / 384.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3916, allocations: 4 kB / 384.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3917, allocations: 0 / 384.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3917, allocations: 4 kB / 384.1 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3935, allocations: 1.501 MB / 385.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.394, allocations: 244 kB / 385.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3941, allocations: 96.84 kB / 385.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.3942, allocations: 89.09 kB / 386 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3943, allocations: 38.56 kB / 386 MB, free: 14.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.3943, allocations: 0 / 386 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001985/0.3963, allocations: 0.837 MB / 386.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.3963, allocations: 59.55 kB / 386.9 MB, free: 13.81 MB / 266.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 sinusoid.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.0002382/0.3966, allocations: 233.1 kB / 387.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3966, allocations: 29.64 kB / 387.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.3967, allocations: 168.2 kB / 387.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.3967, allocations: 90.66 kB / 387.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.3968, allocations: 0 / 387.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3969, allocations: 338.8 kB / 387.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.397, allocations: 101 kB / 387.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3972, allocations: 160.4 kB / 388 MB, free: 12.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.3976, allocations: 139.9 kB / 388.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3976, allocations: 0 / 388.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006696/0.3983, allocations: 342.5 kB / 388.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3983, allocations: 7.281 kB / 388.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3983, allocations: 0 / 388.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3983, allocations: 4 kB / 388.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.3987, allocations: 92.09 kB / 388.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3987, allocations: 4 kB / 388.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3989, allocations: 11.98 kB / 388.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.399, allocations: 12 kB / 388.6 MB, free: 12.05 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001216/0.3991, allocations: 124.5 kB / 388.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3991, allocations: 27.62 kB / 388.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.3999, allocations: 348.4 kB / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3999, allocations: 7.984 kB / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3999, allocations: 0 / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3999, allocations: 0 / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.401, allocations: 0.7372 MB / 389.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.401, allocations: 0 / 389.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.4014, allocations: 87.83 kB / 389.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.4014, allocations: 0 / 389.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.4014, allocations: 7.984 kB / 389.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4015, allocations: 0 / 389.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4015, allocations: 3.906 kB / 390 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008113/0.4023, allocations: 0.523 MB / 390.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001108/0.4034, allocations: 1.048 MB / 391.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4035, allocations: 136.7 kB / 391.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.4036, allocations: 3.938 kB / 391.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4038, allocations: 16.05 kB / 391.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.4039, allocations: 23.88 kB / 391.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.4039, allocations: 8 kB / 391.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001694/0.4041, allocations: 191.1 kB / 391.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009803/0.4051, allocations: 127.9 kB / 392 MB, free: 8.547 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003981/0.4055, allocations: 217.5 kB / 392.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.4058, allocations: 228.1 kB / 392.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4059, allocations: 0 / 392.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.406, allocations: 120.3 kB / 392.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.4066, allocations: 98.89 kB / 392.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4077, allocations: 0.5295 MB / 393.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.4081, allocations: 0.8492 MB / 394 MB, free: 6.473 MB / 266.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4081, allocations: 4 kB / 394 MB, free: 6.469 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)