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.0006414/0.0006414, allocations: 92.55 kB / 16.02 MB, free: 80 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.0006635/0.0006635, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.071/1.071, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04567/0.04567, allocations: 11.86 MB / 283.2 MB, free: 9.367 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.0004856/0.0004856, allocations: 20.22 kB / 344.2 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06569/0.06618, allocations: 50.22 MB / 394.4 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.0023/0.06851, allocations: 2.362 MB / 396.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.07088, allocations: 2.155 MB / 398.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.07098, allocations: 4 kB / 398.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.07123, allocations: 75.69 kB / 399 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.07145, allocations: 107.4 kB / 399.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.07206, allocations: 322.7 kB / 399.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.0723, allocations: 234.8 kB / 399.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.07241, allocations: 52.53 kB / 399.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.07255, allocations: 83.58 kB / 399.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.07268, allocations: 99.48 kB / 399.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.07271, allocations: 8 kB / 399.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.07301, allocations: 199.8 kB / 400.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.07308, allocations: 39.78 kB / 400.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.07318, allocations: 113.1 kB / 400.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.07346, allocations: 247.5 kB / 400.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.07347, allocations: 4 kB / 400.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.07348, allocations: 0 / 400.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.07349, allocations: 0 / 400.5 MB, free: 13.73 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.0005992/0.07409, allocations: 0.518 MB / 401 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.07413, allocations: 12.03 kB / 401 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.07418, allocations: 24.66 kB / 401 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.07443, allocations: 266.7 kB / 401.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.07445, allocations: 11.94 kB / 401.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.07448, allocations: 12 kB / 401.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.07478, allocations: 165.5 kB / 401.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.0748, allocations: 0 / 401.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.07482, allocations: 4 kB / 401.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.07483, allocations: 4 kB / 401.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.07516, allocations: 155.9 kB / 401.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.07609, allocations: 0.7979 MB / 402.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.07633, allocations: 106.5 kB / 402.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.07648, allocations: 64.97 kB / 402.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.07656, allocations: 85.09 kB / 402.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.07659, allocations: 34.56 kB / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.07659, allocations: 3.984 kB / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001416/0.07802, allocations: 484.8 kB / 403.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.07806, allocations: 55.62 kB / 403.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.07832, allocations: 278.7 kB / 403.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.07834, allocations: 29.7 kB / 403.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.07844, allocations: 151.6 kB / 403.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.07847, allocations: 39.45 kB / 403.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.07851, allocations: 17.7 kB / 403.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.07862, allocations: 338.8 kB / 404.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.07883, allocations: 71.94 kB / 404.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.07905, allocations: 104.2 kB / 404.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.07945, allocations: 184.1 kB / 404.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.07946, allocations: 0 / 404.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005017/0.07997, allocations: 241.2 kB / 404.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.07999, allocations: 4 kB / 404.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.08, allocations: 4 kB / 404.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.08002, allocations: 0 / 404.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.08023, allocations: 44.09 kB / 404.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.08025, allocations: 7.938 kB / 404.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.08041, allocations: 23.92 kB / 404.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.08043, allocations: 11.98 kB / 404.8 MB, free: 9.109 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.0001056/0.08054, allocations: 130.7 kB / 404.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.08059, allocations: 23.72 kB / 404.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.08111, allocations: 224.9 kB / 405.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.08112, allocations: 4 kB / 405.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.08113, allocations: 0 / 405.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.08114, allocations: 7.922 kB / 405.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.08183, allocations: 0.5118 MB / 405.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.08184, allocations: 0 / 405.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.08198, allocations: 39.97 kB / 405.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.082, allocations: 4 kB / 405.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.08201, allocations: 7.938 kB / 405.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.08202, allocations: 4 kB / 405.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.08203, allocations: 0 / 405.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.08249, allocations: 296.9 kB / 406 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.0826, allocations: 112.8 kB / 406.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.08264, allocations: 11.92 kB / 406.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.0828, allocations: 15.98 kB / 406.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.08285, allocations: 7.984 kB / 406.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.08286, allocations: 8 kB / 406.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.08306, allocations: 210 kB / 406.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08307, allocations: 4 kB / 406.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.08339, allocations: 75.98 kB / 406.4 MB, free: 7.309 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.0007824/0.08418, allocations: 423.8 kB / 406.9 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.08463, allocations: 155.8 kB / 407 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.08464, allocations: 0 / 407 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.08484, allocations: 72.27 kB / 407.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.08527, allocations: 60.83 kB / 407.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.08589, allocations: 0.5073 MB / 407.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.0862, allocations: 0.7517 MB / 408.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.08627, allocations: 19.44 kB / 408.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08628, allocations: 0 / 408.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of Templates: time 0.005034/0.09132, allocations: 3.581 MB / 412 MB, free: 1.801 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