Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",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.002354/0.002354, allocations: 140.5 kB / 7.423 MB, free: 2.316 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.7631/0.7631, allocations: 150.5 MB / 158.4 MB, free: 6.359 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001325/0.001325, allocations: 78.2 kB / 193.3 MB, free: 1.211 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04617/0.04617, allocations: 11.72 MB / 239.9 MB, free: 2.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1123/0.1585, allocations: 43.24 MB / 283.2 MB, free: 31.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05683/0.2154, allocations: 37.13 MB / 320.3 MB, free: 10.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.3722, allocations: 53.24 MB / 373.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3724, allocations: 66.53 kB / 373.6 MB, free: 11.58 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.04362/0.416, allocations: 16.89 MB / 390.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4161, allocations: 8 kB / 390.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.4165, allocations: 90.97 kB / 390.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.4178, allocations: 0.5057 MB / 391.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.4179, allocations: 20 kB / 391.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4181, allocations: 36 kB / 391.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001018/0.4191, allocations: 498.4 kB / 391.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.4199, allocations: 487.9 kB / 392.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.42, allocations: 0 / 392.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.42, allocations: 0 / 392.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.42, allocations: 12 kB / 392.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.4234, allocations: 2.894 MB / 395 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.4242, allocations: 435.5 kB / 395.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.4245, allocations: 192.8 kB / 395.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.4246, allocations: 93.09 kB / 395.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4247, allocations: 42.55 kB / 395.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.023e-06/0.4247, allocations: 0 / 395.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.003078/0.4277, allocations: 1.259 MB / 397 MB, free: 3.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4278, allocations: 59.41 kB / 397.1 MB, free: 3.59 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.0004634/0.4283, allocations: 377.1 kB / 397.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4283, allocations: 25.7 kB / 397.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4285, allocations: 252.3 kB / 397.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4286, allocations: 145.8 kB / 397.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.4286, allocations: 0 / 397.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4288, allocations: 362.8 kB / 398.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.429, allocations: 164.9 kB / 398.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.4293, allocations: 256.6 kB / 398.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.4301, allocations: 269.1 kB / 398.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4301, allocations: 8 kB / 398.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001211/0.4313, allocations: 0.5693 MB / 399.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4314, allocations: 7.625 kB / 399.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4314, allocations: 8 kB / 399.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4314, allocations: 4 kB / 399.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.4319, allocations: 123.8 kB / 399.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4319, allocations: 7.938 kB / 399.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.4323, allocations: 35.88 kB / 399.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.4323, allocations: 27.92 kB / 399.7 MB, free: 0.9219 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: checkValve1.port_a.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0))))))))))))))))) start = j1.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID,checkValve1.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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.0002403/0.4326, allocations: 199.1 kB / 399.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.4327, allocations: 55.33 kB / 399.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.4339, allocations: 0.5821 MB / 400.5 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4339, allocations: 4 kB / 400.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.434, allocations: 4 kB / 400.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.434, allocations: 3.984 kB / 400.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.4358, allocations: 1.166 MB / 401.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4359, allocations: 8 kB / 401.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.4364, allocations: 107.8 kB / 401.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4364, allocations: 0 / 401.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.4364, allocations: 7.984 kB / 401.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4364, allocations: 4 kB / 401.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4364, allocations: 0 / 401.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001351/0.4378, allocations: 0.8571 MB / 402.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001712/0.4395, allocations: 1.485 MB / 404.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.4397, allocations: 184.6 kB / 404.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.4398, allocations: 0 / 404.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.4401, allocations: 23.97 kB / 404.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.4402, allocations: 28.39 kB / 404.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.4403, allocations: 23.89 kB / 404.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002967/0.4406, allocations: 299.2 kB / 404.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00114/0.4417, allocations: 196 kB / 404.9 MB, free: 11.6 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,checkValve1.port_a.p,speed.phi,speed.w) * Number of discrete variables: 2 (checkValve.variableRestriction.MeteringTable.tableID,checkValve1.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000484/0.4422, allocations: 261.3 kB / 405.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.4428, allocations: 403.8 kB / 405.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4428, allocations: 4.062 kB / 405.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.4431, allocations: 217.5 kB / 405.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.4441, allocations: 189.8 kB / 405.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4459, allocations: 1.009 MB / 406.9 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.4466, allocations: 1.014 MB / 408 MB, free: 8.473 MB / 282.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4466, allocations: 3.938 kB / 408 MB, free: 8.469 MB / 282.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)