Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",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.00219/0.00219, allocations: 149.2 kB / 7.426 MB, free: 2.516 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.7516/0.7516, allocations: 150.5 MB / 158.4 MB, free: 6.293 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001317/0.001317, allocations: 85 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.04653/0.04653, allocations: 11.72 MB / 239.9 MB, free: 2.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1088/0.1553, allocations: 43.24 MB / 283.1 MB, free: 31.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04912/0.2045, allocations: 37.13 MB / 320.3 MB, free: 10.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.3633, allocations: 49.48 MB / 369.8 MB, free: 15.4 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3636, allocations: 67.97 kB / 369.8 MB, free: 15.34 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.01236/0.376, allocations: 4.73 MB / 374.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.376, allocations: 8 kB / 374.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3762, allocations: 19.81 kB / 374.6 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3765, allocations: 223.2 kB / 374.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3765, allocations: 4 kB / 374.8 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.3766, allocations: 8 kB / 374.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002047/0.3768, allocations: 99.98 kB / 374.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.377, allocations: 163.5 kB / 375.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3771, allocations: 0 / 375.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3771, allocations: 0 / 375.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3771, allocations: 4 kB / 375.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3782, allocations: 0.9193 MB / 376 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3785, allocations: 146.7 kB / 376.1 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.3786, allocations: 44.86 kB / 376.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3786, allocations: 4 kB / 376.2 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3786, allocations: 34.56 kB / 376.2 MB, free: 8.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.324e-06/0.3786, allocations: 0 / 376.2 MB, free: 8.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001372/0.38, allocations: 0.5518 MB / 376.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3801, allocations: 77.11 kB / 376.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3802, allocations: 134.4 kB / 377 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3802, allocations: 25.7 kB / 377 MB, free: 7.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3803, allocations: 124.3 kB / 377.1 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3803, allocations: 67.02 kB / 377.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.3803, allocations: 0 / 377.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3805, allocations: 322.8 kB / 377.5 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.3806, allocations: 53.03 kB / 377.6 MB, free: 7.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.3807, allocations: 73.09 kB / 377.6 MB, free: 7.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3808, allocations: 63.95 kB / 377.7 MB, free: 7.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3809, allocations: 4 kB / 377.7 MB, free: 7.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003578/0.3812, allocations: 177.2 kB / 377.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3812, allocations: 7.438 kB / 377.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3813, allocations: 4 kB / 377.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3813, allocations: 0 / 377.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3815, allocations: 67.98 kB / 377.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.3816, allocations: 0 / 377.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3817, allocations: 8 kB / 377.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3817, allocations: 11.98 kB / 378 MB, free: 6.852 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 0.0001136/0.3819, allocations: 146.5 kB / 378.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3819, allocations: 15.81 kB / 378.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.3823, allocations: 196.8 kB / 378.3 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3823, allocations: 3.984 kB / 378.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3823, allocations: 0 / 378.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3823, allocations: 3.906 kB / 378.3 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.3829, allocations: 475.1 kB / 378.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3829, allocations: 7.906 kB / 378.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3832, allocations: 55.91 kB / 378.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3832, allocations: 4 kB / 378.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3832, allocations: 0 / 378.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3832, allocations: 0 / 378.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3832, allocations: 0 / 378.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004341/0.3837, allocations: 339.5 kB / 379.2 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000595/0.3843, allocations: 0.7692 MB / 380 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3844, allocations: 104.9 kB / 380.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.3844, allocations: 8 kB / 380.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3846, allocations: 4 kB / 380.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.3847, allocations: 19.97 kB / 380.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3847, allocations: 7.906 kB / 380.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.309e-05/0.3848, allocations: 116 kB / 380.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.3856, allocations: 52 kB / 380.3 MB, free: 4.434 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0001345/0.3857, allocations: 111.1 kB / 380.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.386, allocations: 149.6 kB / 380.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.386, allocations: 0 / 380.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3861, allocations: 98.19 kB / 380.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3865, allocations: 52.27 kB / 380.7 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.3871, allocations: 295.1 kB / 380.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.3875, allocations: 0.7744 MB / 381.7 MB, free: 2.906 MB / 250.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3875, allocations: 0 / 381.7 MB, free: 2.906 MB / 250.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)