Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.0008733/0.0008733, allocations: 150.5 kB / 7.429 MB, free: 0 / 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.7622/0.7622, 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.001326/0.001326, allocations: 82.19 kB / 193.3 MB, free: 1.266 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0472/0.0472, allocations: 11.72 MB / 239.9 MB, free: 2.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1046/0.1519, allocations: 43.24 MB / 283.1 MB, free: 31.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05366/0.2055, allocations: 37.13 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.3672, allocations: 52.45 MB / 372.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.3674, allocations: 66.22 kB / 372.8 MB, free: 12.37 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.02472/0.3921, allocations: 9.204 MB / 382 MB, free: 3.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3922, allocations: 12 kB / 382 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3923, allocations: 31.62 kB / 382 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3927, allocations: 274.8 kB / 382.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3927, allocations: 4 kB / 382.3 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3928, allocations: 16 kB / 382.3 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003313/0.3931, allocations: 196.9 kB / 382.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.3935, allocations: 221.8 kB / 382.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3935, allocations: 0 / 382.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3935, allocations: 4 kB / 382.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3935, allocations: 8 kB / 382.8 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3953, allocations: 1.425 MB / 384.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.3956, allocations: 151.1 kB / 384.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3957, allocations: 72.77 kB / 384.4 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.3959, allocations: 166.2 kB / 384.6 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3959, allocations: 34.56 kB / 384.6 MB, free: 244 kB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.3959, allocations: 4 kB / 384.6 MB, free: 240 kB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.003369/0.3993, allocations: 0.8544 MB / 385.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3993, allocations: 51.59 kB / 385.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3995, allocations: 170 kB / 385.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3995, allocations: 29.7 kB / 385.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3996, allocations: 156 kB / 385.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.3997, allocations: 70.94 kB / 385.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.3997, allocations: 0 / 385.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3998, allocations: 330.7 kB / 386.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4, allocations: 77.3 kB / 386.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.4001, allocations: 118.7 kB / 386.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.401, allocations: 176.8 kB / 386.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.401, allocations: 0 / 386.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001087/0.4021, allocations: 321.5 kB / 386.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4021, allocations: 8 kB / 386.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4022, allocations: 0 / 386.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4022, allocations: 4 kB / 386.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.4025, allocations: 83.97 kB / 387 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4025, allocations: 11.84 kB / 387 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.4027, allocations: 7.938 kB / 387 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.4027, allocations: 15.98 kB / 387 MB, free: 13.66 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: 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 (28): * Single equations (assignments): 28 * 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.0001273/0.4028, allocations: 105 kB / 387.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.4029, allocations: 27.72 kB / 387.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.4038, allocations: 307.8 kB / 387.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4039, allocations: 4 kB / 387.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4039, allocations: 3.984 kB / 387.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4039, allocations: 4.031 kB / 387.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4052, allocations: 0.656 MB / 388.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4052, allocations: 4 kB / 388.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.4055, allocations: 55.97 kB / 388.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4055, allocations: 4.031 kB / 388.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.4055, allocations: 11.89 kB / 388.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4055, allocations: 3.938 kB / 388.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4056, allocations: 0 / 388.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009884/0.4065, allocations: 469.6 kB / 388.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001169/0.4077, allocations: 0.9201 MB / 389.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4078, allocations: 120.8 kB / 389.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4079, allocations: 4 kB / 389.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4081, allocations: 11.98 kB / 389.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.4081, allocations: 11.89 kB / 389.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4082, allocations: 16 kB / 389.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001077/0.4083, allocations: 147.2 kB / 389.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009994/0.4093, allocations: 135.9 kB / 390 MB, free: 10.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0003818/0.4097, allocations: 194.9 kB / 390.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.41, allocations: 160.8 kB / 390.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.41, allocations: 0 / 390.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4101, allocations: 76.3 kB / 390.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4106, allocations: 64.94 kB / 390.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.4115, allocations: 423.2 kB / 390.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.4119, allocations: 0.8058 MB / 391.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4119, allocations: 3.938 kB / 391.7 MB, free: 8.77 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)