Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",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.002218/0.002218, allocations: 149.7 kB / 7.428 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.7255/0.7255, allocations: 150.5 MB / 158.4 MB, free: 6.305 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001327/0.001327, allocations: 92.75 kB / 193.3 MB, free: 1.191 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04633/0.04633, allocations: 11.71 MB / 239.9 MB, free: 2.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1099/0.1563, allocations: 43.23 MB / 283.1 MB, free: 31.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05488/0.2112, allocations: 37.15 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.3702, allocations: 52.18 MB / 372.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.3704, allocations: 63.97 kB / 372.5 MB, free: 12.64 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.02454/0.395, allocations: 9.249 MB / 381.8 MB, free: 3.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.395, allocations: 8 kB / 381.8 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.3951, allocations: 35.53 kB / 381.8 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.3956, allocations: 302.3 kB / 382.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3956, allocations: 8 kB / 382.1 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.3956, allocations: 12 kB / 382.1 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003684/0.396, allocations: 228.8 kB / 382.4 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.3963, allocations: 206.3 kB / 382.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3964, allocations: 0 / 382.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3964, allocations: 0.75 kB / 382.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3964, allocations: 4 kB / 382.6 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3978, allocations: 1.278 MB / 383.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.3983, allocations: 170.9 kB / 384 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3984, allocations: 84.78 kB / 384.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.3986, allocations: 166.2 kB / 384.3 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3986, allocations: 43.66 kB / 384.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.3986, allocations: 0 / 384.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.02269/0.4213, allocations: 2.446 MB / 386.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4214, allocations: 55.41 kB / 386.8 MB, free: 13.98 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 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.0002936/0.4217, allocations: 240.9 kB / 387 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.4218, allocations: 25.7 kB / 387.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.4219, allocations: 144.3 kB / 387.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.422, allocations: 102.5 kB / 387.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.422, allocations: 0 / 387.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4221, allocations: 338.8 kB / 387.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.4224, allocations: 200 kB / 387.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.4228, allocations: 247.1 kB / 388.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.4241, allocations: 335.6 kB / 388.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4241, allocations: 4 kB / 388.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002424/0.4265, allocations: 0.7993 MB / 389.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4266, allocations: 7.938 kB / 389.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4266, allocations: 4 kB / 389.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.4278, allocations: 0.7549 MB / 390 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.428, allocations: 59.89 kB / 390 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.4313, allocations: 1.757 MB / 391.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.432, allocations: 52.02 kB / 391.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.4321, allocations: 20.05 kB / 391.9 MB, free: 8.816 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.restriction.port_a.p:DUMMY_DER(flow=false fixed = false ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (throttleValve.data.zetaLaminarKnown,throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.4323, allocations: 105 kB / 392 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.4324, allocations: 27.62 kB / 392 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.4348, allocations: 0.8569 MB / 392.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.4348, allocations: 4 kB / 392.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4349, allocations: 128 / 392.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4349, allocations: 4 kB / 392.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.4392, allocations: 1.661 MB / 394.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4392, allocations: 0 / 394.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.4395, allocations: 59.89 kB / 394.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009676/0.4405, allocations: 0.6183 MB / 395.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.4405, allocations: 11.98 kB / 395.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.4455, allocations: 1.835 MB / 397 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4456, allocations: 4 kB / 397 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001867/0.4474, allocations: 0.8064 MB / 397.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00201/0.4495, allocations: 1.178 MB / 399 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.4497, allocations: 168.6 kB / 399.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4498, allocations: 4 kB / 399.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.4504, allocations: 47.88 kB / 399.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.4505, allocations: 15.97 kB / 399.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4506, allocations: 23.97 kB / 399.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001899/0.4508, allocations: 183.1 kB / 399.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001378/0.4521, allocations: 255.7 kB / 399.7 MB, free: 0.7188 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009195/0.4531, allocations: 308.5 kB / 400 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.4548, allocations: 0.5116 MB / 400.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4548, allocations: 4.125 kB / 400.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.4576, allocations: 419.8 kB / 400.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.4583, allocations: 94.81 kB / 401 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4595, allocations: 0.495 MB / 401.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.46, allocations: 0.8269 MB / 402.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 3.01e-07/0.46, allocations: 0 / 402.3 MB, free: 14.02 MB / 282.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)