Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",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.002054/0.002054, allocations: 150.5 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.7155/0.7155, allocations: 150.5 MB / 158.4 MB, free: 6.309 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00133/0.00133, allocations: 90.05 kB / 193.3 MB, free: 1.199 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0474/0.0474, allocations: 11.72 MB / 239.9 MB, free: 2.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1057/0.1531, allocations: 43.24 MB / 283.1 MB, free: 31.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05218/0.2053, allocations: 37.14 MB / 320.3 MB, free: 10.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.3509, allocations: 51.78 MB / 372.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.3512, allocations: 70.5 kB / 372.1 MB, free: 13.15 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.01875/0.3699, allocations: 6.67 MB / 378.8 MB, free: 6.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.37, allocations: 8 kB / 378.8 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3701, allocations: 23.72 kB / 378.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.3704, allocations: 251.3 kB / 379.1 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3704, allocations: 4 kB / 379.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3705, allocations: 12 kB / 379.1 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/0.3707, allocations: 120.3 kB / 379.2 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.371, allocations: 182 kB / 379.4 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.371, allocations: 4 kB / 379.4 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.371, allocations: 0 / 379.4 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3711, allocations: 4 kB / 379.4 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3723, allocations: 1.075 MB / 380.5 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3725, allocations: 91.02 kB / 380.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.3726, allocations: 52.88 kB / 380.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3728, allocations: 332.4 kB / 380.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3728, allocations: 30.56 kB / 381 MB, free: 3.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 3.446e-06/0.3728, allocations: 4 kB / 381 MB, free: 3.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.001649/0.3745, allocations: 0.5828 MB / 381.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3745, allocations: 63.3 kB / 381.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3747, allocations: 146.8 kB / 381.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3747, allocations: 25.7 kB / 381.8 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.3748, allocations: 136.2 kB / 381.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3748, allocations: 63.09 kB / 382 MB, free: 2.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.3748, allocations: 0 / 382 MB, free: 2.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.3749, allocations: 322.8 kB / 382.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.375, allocations: 53.22 kB / 382.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3752, allocations: 94.56 kB / 382.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3754, allocations: 83.78 kB / 382.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3755, allocations: 0 / 382.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004575/0.3759, allocations: 202 kB / 382.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3759, allocations: 4 kB / 382.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.376, allocations: 11.92 kB / 382.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.376, allocations: 0 / 382.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3762, allocations: 56.12 kB / 382.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3762, allocations: 8 kB / 382.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3764, allocations: 7.984 kB / 382.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3764, allocations: 15.94 kB / 382.8 MB, free: 2.012 MB / 250.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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001103/0.3765, allocations: 112.9 kB / 382.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.3766, allocations: 15.81 kB / 382.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.377, allocations: 223.1 kB / 383.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3771, allocations: 0 / 383.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3771, allocations: 0 / 383.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3771, allocations: 3.984 kB / 383.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3778, allocations: 0.5028 MB / 383.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3778, allocations: 0 / 383.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.3781, allocations: 63.91 kB / 383.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3781, allocations: 0 / 383.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3781, allocations: 0 / 383.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3782, allocations: 3.984 kB / 383.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3782, allocations: 4 kB / 383.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004781/0.3786, allocations: 335.5 kB / 384.1 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006586/0.3793, allocations: 0.7831 MB / 384.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.3794, allocations: 108.9 kB / 385 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.3795, allocations: 0 / 385 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.3796, allocations: 16.05 kB / 385 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3797, allocations: 7.984 kB / 385 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3797, allocations: 8 kB / 385 MB, free: 15.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.973e-05/0.3798, allocations: 131.2 kB / 385.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000921/0.3807, allocations: 103.8 kB / 385.2 MB, free: 15.51 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002746/0.381, allocations: 174.9 kB / 385.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3813, allocations: 121.9 kB / 385.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3813, allocations: 320 / 385.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.3814, allocations: 75.92 kB / 385.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3818, allocations: 48.27 kB / 385.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.3826, allocations: 369.6 kB / 386 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.3829, allocations: 0.779 MB / 386.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3829, allocations: 7.938 kB / 386.8 MB, free: 13.9 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)