Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",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.001859/0.001859, allocations: 146.5 kB / 7.425 MB, free: 2.523 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.7431/0.7431, 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.001369/0.00137, allocations: 86.12 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.04711/0.04711, allocations: 11.71 MB / 239.9 MB, free: 2.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1023/0.1495, allocations: 43.24 MB / 283.1 MB, free: 31.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05477/0.2043, allocations: 37.14 MB / 320.3 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.3653, allocations: 50.87 MB / 371.1 MB, free: 14.02 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3656, allocations: 63.97 kB / 371.2 MB, free: 13.96 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.02056/0.3862, allocations: 7.12 MB / 378.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3862, allocations: 12 kB / 378.3 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.3863, allocations: 23.72 kB / 378.4 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3866, allocations: 247.5 kB / 378.6 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3867, allocations: 4 kB / 378.6 MB, free: 6.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3867, allocations: 11.98 kB / 378.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002435/0.387, allocations: 131.9 kB / 378.7 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3872, allocations: 141.5 kB / 378.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3872, allocations: 3.938 kB / 378.9 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3872, allocations: 0 / 378.9 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3872, allocations: 4 kB / 378.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3883, allocations: 0.7673 MB / 379.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3884, allocations: 81.73 kB / 379.7 MB, free: 5.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.3885, allocations: 48.89 kB / 379.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.3886, allocations: 89.02 kB / 379.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3886, allocations: 38.56 kB / 379.9 MB, free: 5.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.3886, allocations: 0 / 379.9 MB, free: 5.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.00111/0.3898, allocations: 328.7 kB / 380.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3898, allocations: 63.31 kB / 380.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.39, allocations: 191 kB / 380.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3901, allocations: 25.7 kB / 380.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.3901, allocations: 128 kB / 380.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3902, allocations: 39.45 kB / 380.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.3902, allocations: 0 / 380.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3903, allocations: 326.8 kB / 381 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.3904, allocations: 43.98 kB / 381 MB, free: 3.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3905, allocations: 89.08 kB / 381.1 MB, free: 3.746 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.3908, allocations: 91.88 kB / 381.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3908, allocations: 0 / 381.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000498/0.3914, allocations: 206.3 kB / 381.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3914, allocations: 7.125 kB / 381.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3914, allocations: 4 kB / 381.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3914, allocations: 0 / 381.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.3917, allocations: 60.02 kB / 381.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3917, allocations: 0 / 381.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3919, allocations: 19.98 kB / 381.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3919, allocations: 12 kB / 381.5 MB, free: 3.352 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (leakage.data.zetaLaminarKnown,leakage.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.88e-05/0.392, allocations: 114.1 kB / 381.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.3921, allocations: 19.72 kB / 381.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.3926, allocations: 195.8 kB / 381.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3926, allocations: 7.984 kB / 381.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3926, allocations: 3.938 kB / 381.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3926, allocations: 0 / 381.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3929, allocations: 234 kB / 382.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3929, allocations: 0 / 382.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3931, allocations: 39.97 kB / 382.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3931, allocations: 4 kB / 382.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3931, allocations: 0 / 382.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3931, allocations: 3.938 kB / 382.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3931, allocations: 0 / 382.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004377/0.3936, allocations: 277.7 kB / 382.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005391/0.3941, allocations: 0.6527 MB / 383 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.3942, allocations: 112.9 kB / 383.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3943, allocations: 0 / 383.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3945, allocations: 23.98 kB / 383.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.3945, allocations: 15.88 kB / 383.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3945, allocations: 4 kB / 383.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.0001245/0.3947, allocations: 165.5 kB / 383.4 MB, free: 1.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009164/0.3956, allocations: 91.92 kB / 383.5 MB, free: 1.316 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: 1 (leakage.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004197/0.396, allocations: 207.9 kB / 383.7 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3962, allocations: 111.9 kB / 383.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3963, allocations: 4.25 kB / 383.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.3964, allocations: 57.06 kB / 383.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3968, allocations: 66.08 kB / 383.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.3973, allocations: 232 kB / 384.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.3977, allocations: 0.7645 MB / 384.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3977, allocations: 3.938 kB / 384.9 MB, free: 15.84 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)