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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 100.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 200.2 kB / 16.8 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05151/0.05151, allocations: 11.84 MB / 281.8 MB, free: 9.648 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.83 kB / 341.8 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09009, allocations: 49.22 MB / 391 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004318/0.09446, allocations: 2.729 MB / 393.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.09812, allocations: 2.206 MB / 395.9 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.09832, allocations: 11.94 kB / 396 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.0987, allocations: 71.7 kB / 396 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.09899, allocations: 103.4 kB / 396.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.09981, allocations: 326.8 kB / 396.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1001, allocations: 234.8 kB / 396.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1002, allocations: 40.61 kB / 396.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1004, allocations: 95.56 kB / 396.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1006, allocations: 103.5 kB / 396.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1006, allocations: 8 kB / 396.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1009, allocations: 195.8 kB / 397.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.101, allocations: 35.83 kB / 397.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1011, allocations: 99.36 kB / 397.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1014, allocations: 251.5 kB / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1015, allocations: 0 / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1015, allocations: 0 / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1015, allocations: 0 / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000743/0.1022, allocations: 0.5529 MB / 398 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1023, allocations: 8.031 kB / 398 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.1023, allocations: 24.66 kB / 398.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1026, allocations: 258.8 kB / 398.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1026, allocations: 11.94 kB / 398.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1027, allocations: 15.98 kB / 398.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.103, allocations: 161.6 kB / 398.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.103, allocations: 0 / 398.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.103, allocations: 4 kB / 398.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.103, allocations: 8 kB / 398.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.1034, allocations: 147.8 kB / 398.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1044, allocations: 0.7901 MB / 399.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1047, allocations: 106.6 kB / 399.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1049, allocations: 53.09 kB / 399.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.105, allocations: 85.09 kB / 399.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.105, allocations: 42.56 kB / 399.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.105, allocations: 0 / 399.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.1065, allocations: 408.2 kB / 400.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1065, allocations: 55.41 kB / 400.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1068, allocations: 278.7 kB / 400.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1069, allocations: 25.7 kB / 400.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.107, allocations: 151.7 kB / 400.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.107, allocations: 43.45 kB / 400.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.1071, allocations: 33.7 kB / 400.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1073, allocations: 338.8 kB / 401 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1075, allocations: 59.95 kB / 401.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1077, allocations: 103.8 kB / 401.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.1081, allocations: 156.2 kB / 401.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1082, allocations: 0 / 401.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005152/0.1087, allocations: 213.1 kB / 401.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1087, allocations: 8 kB / 401.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1087, allocations: 0 / 401.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1087, allocations: 128 / 401.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.109, allocations: 47.97 kB / 401.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.109, allocations: 0 / 401.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1092, allocations: 19.91 kB / 401.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1092, allocations: 8 kB / 401.6 MB, free: 10.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.1093, allocations: 138.7 kB / 401.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1094, allocations: 23.72 kB / 401.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.1099, allocations: 200.9 kB / 402 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1099, allocations: 4 kB / 402 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1099, allocations: 0.6562 kB / 402 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.11, allocations: 3.938 kB / 402 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.1107, allocations: 0.5 MB / 402.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1107, allocations: 4 kB / 402.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1108, allocations: 19.98 kB / 402.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1108, allocations: 4 kB / 402.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1109, allocations: 8 kB / 402.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1109, allocations: 15.86 kB / 402.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1109, allocations: 0 / 402.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1113, allocations: 264.9 kB / 402.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.1114, allocations: 108.8 kB / 402.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.1115, allocations: 7.938 kB / 402.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1116, allocations: 11.98 kB / 402.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1117, allocations: 15.97 kB / 403 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1117, allocations: 4 kB / 403 MB, free: 8.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1119, allocations: 213.9 kB / 403.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1119, allocations: 0 / 403.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1123, allocations: 79.98 kB / 403.2 MB, free: 8.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00094/0.1133, allocations: 418.7 kB / 403.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.1137, allocations: 143.8 kB / 403.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1138, allocations: 0 / 403.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.114, allocations: 64.27 kB / 403.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.1145, allocations: 56.8 kB / 403.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.1152, allocations: 492.6 kB / 404.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1155, allocations: 0.744 MB / 405.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.1156, allocations: 23.44 kB / 405.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1156, allocations: 3.938 kB / 405.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Templates: time 0.005447/0.121, allocations: 3.592 MB / 408.8 MB, free: 2.969 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimpleCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimpleCalcHelperMain.o] Error 1