Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",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.001818/0.001818, allocations: 150.1 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.7465/0.7465, 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.001316/0.001316, allocations: 86.09 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.04704/0.04704, allocations: 11.72 MB / 239.9 MB, free: 2.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1039/0.151, allocations: 43.24 MB / 283.1 MB, free: 31.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04942/0.2004, allocations: 37.13 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.3561, allocations: 47.86 MB / 368.1 MB, free: 1.043 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.3563, allocations: 63.97 kB / 368.2 MB, free: 0.9805 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.008295/0.3646, allocations: 3.129 MB / 371.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3647, allocations: 8 kB / 371.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.3647, allocations: 11.89 kB / 371.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.365, allocations: 202.8 kB / 371.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.365, allocations: 4 kB / 371.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.365, allocations: 4 kB / 371.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/0.3651, allocations: 59.98 kB / 371.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3653, allocations: 77.66 kB / 371.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3653, allocations: 0 / 371.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3653, allocations: 11.91 kB / 371.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3653, allocations: 0 / 371.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.366, allocations: 0.54 MB / 372.2 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3661, allocations: 70.5 kB / 372.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.3662, allocations: 36.84 kB / 372.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3662, allocations: 4 kB / 372.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3662, allocations: 34.47 kB / 372.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.3662, allocations: 4 kB / 372.4 MB, free: 12.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.000698/0.3669, allocations: 193.4 kB / 372.6 MB, free: 12.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.367, allocations: 77.11 kB / 372.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3671, allocations: 113.3 kB / 372.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3672, allocations: 29.7 kB / 372.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3672, allocations: 103.5 kB / 372.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3672, allocations: 27.56 kB / 372.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.3673, allocations: 4 kB / 372.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.3674, allocations: 322.8 kB / 373.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.3674, allocations: 23.94 kB / 373.3 MB, free: 11.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.3675, allocations: 42.08 kB / 373.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3676, allocations: 28.11 kB / 373.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3676, allocations: 0 / 373.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002208/0.3678, allocations: 105.5 kB / 373.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3678, allocations: 7.906 kB / 373.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3679, allocations: 4.031 kB / 373.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3679, allocations: 4 kB / 373.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3681, allocations: 35.97 kB / 373.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.3681, allocations: 0 / 373.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3682, allocations: 19.98 kB / 373.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3682, allocations: 4 kB / 373.5 MB, free: 11.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 8.15e-05/0.3683, allocations: 138.6 kB / 373.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3684, allocations: 7.906 kB / 373.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.3686, allocations: 130 kB / 373.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3686, allocations: 0 / 373.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3687, allocations: 8 kB / 373.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3687, allocations: 3.984 kB / 373.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3689, allocations: 190 kB / 374 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3689, allocations: 0 / 374 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.369, allocations: 47.91 kB / 374 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3691, allocations: 0 / 374 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3691, allocations: 0 / 374 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3691, allocations: 0 / 374 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3691, allocations: 4 kB / 374 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/0.3693, allocations: 195.3 kB / 374.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002915/0.3696, allocations: 0.5778 MB / 374.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.3697, allocations: 97 kB / 374.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3697, allocations: 0 / 374.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3699, allocations: 23.92 kB / 374.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3699, allocations: 7.984 kB / 374.9 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.37, allocations: 8 kB / 374.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.77e-05/0.37, allocations: 107 kB / 375 MB, free: 9.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007756/0.3708, allocations: 31.91 kB / 375.1 MB, free: 9.738 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001193/0.3709, allocations: 103.3 kB / 375.2 MB, free: 9.629 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3711, allocations: 97.58 kB / 375.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3711, allocations: 0 / 375.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.966e-05/0.3712, allocations: 73.62 kB / 375.3 MB, free: 9.449 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.3715, allocations: 36.14 kB / 375.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.3719, allocations: 151.3 kB / 375.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3722, allocations: 0.7309 MB / 376.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3722, allocations: 0 / 376.3 MB, free: 8.484 MB / 250.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)