Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",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.002822/0.002822, allocations: 149.3 kB / 7.424 MB, free: 2.52 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.7491/0.7491, 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.001343/0.001343, allocations: 86.02 kB / 193.3 MB, free: 1.184 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04731/0.04731, allocations: 11.71 MB / 239.9 MB, free: 2.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1093/0.1566, allocations: 43.24 MB / 283.1 MB, free: 31.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05587/0.2125, allocations: 37.13 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.3812, allocations: 49.76 MB / 370 MB, free: 15.14 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3814, allocations: 62.41 kB / 370.1 MB, free: 15.08 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.02213/0.4036, allocations: 9.15 MB / 379.2 MB, free: 5.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4036, allocations: 12 kB / 379.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.4038, allocations: 59.42 kB / 379.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.4043, allocations: 350.3 kB / 379.7 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4044, allocations: 16 kB / 379.7 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.4044, allocations: 23.91 kB / 379.7 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004206/0.4048, allocations: 245.9 kB / 379.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.4053, allocations: 296.5 kB / 380.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4053, allocations: 0 / 380.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.4054, allocations: 0 / 380.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4054, allocations: 8 kB / 380.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.4073, allocations: 1.64 MB / 381.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.4076, allocations: 134.8 kB / 382 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4077, allocations: 76.83 kB / 382.1 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4078, allocations: 5.062 kB / 382.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4078, allocations: 42.41 kB / 382.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.4078, allocations: 4 kB / 382.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003453/0.4081, allocations: 152.5 kB / 382.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4082, allocations: 55.41 kB / 382.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.4084, allocations: 227.4 kB / 382.6 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4084, allocations: 25.7 kB / 382.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.4085, allocations: 227.3 kB / 382.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.4086, allocations: 63.05 kB / 382.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.4086, allocations: 0 / 382.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.4087, allocations: 342.8 kB / 383.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4088, allocations: 69.11 kB / 383.3 MB, free: 1.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4089, allocations: 145.6 kB / 383.4 MB, free: 1.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.4092, allocations: 93.14 kB / 383.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4092, allocations: 0 / 383.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004576/0.4097, allocations: 253.1 kB / 383.8 MB, free: 1.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4097, allocations: 4 kB / 383.8 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4097, allocations: 4.438 kB / 383.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4097, allocations: 8 kB / 383.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.41, allocations: 75.83 kB / 383.8 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.41, allocations: 4 kB / 383.8 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4102, allocations: 23.75 kB / 383.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.4102, allocations: 11.91 kB / 383.9 MB, free: 0.8906 MB / 250.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001084/0.4103, allocations: 116.9 kB / 384 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.4104, allocations: 31.7 kB / 384 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.4107, allocations: 163.6 kB / 384.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4107, allocations: 7.984 kB / 384.2 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4107, allocations: 0 / 384.2 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4107, allocations: 0 / 384.2 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000783/0.4115, allocations: 0.6513 MB / 384.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4115, allocations: 0 / 384.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4117, allocations: 47.92 kB / 384.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4117, allocations: 4 kB / 384.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4118, allocations: 4 kB / 384.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4118, allocations: 4.172 kB / 384.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.4118, allocations: 11.98 kB / 384.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000376/0.4122, allocations: 423.3 kB / 385.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005454/0.4127, allocations: 0.8499 MB / 386.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.4128, allocations: 109.1 kB / 386.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.4129, allocations: 3.984 kB / 386.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.4131, allocations: 15.84 kB / 386.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4131, allocations: 11.98 kB / 386.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.4131, allocations: 12 kB / 386.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001528/0.4133, allocations: 187.1 kB / 386.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009347/0.4142, allocations: 111.5 kB / 386.6 MB, free: 13.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001261/0.4144, allocations: 99.25 kB / 386.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.4146, allocations: 151.8 kB / 386.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4146, allocations: 0.875 kB / 386.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.4147, allocations: 60.12 kB / 386.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.4153, allocations: 93.22 kB / 387 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4163, allocations: 0.5374 MB / 387.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.4167, allocations: 0.8521 MB / 388.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4167, allocations: 0 / 388.4 MB, free: 12.04 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)