Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007113/0.0007112, allocations: 96.33 kB / 16.33 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000706/0.0007059, allocations: 186.7 kB / 17.22 MB, free: 5.883 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.24/1.24, allocations: 205.4 MB / 223.4 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2793/0.2793, allocations: 43.55 MB / 315.2 MB, free: 9.074 MB / 254.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: Performance of FrontEnd - loaded program: time 0.0004573/0.0004573, allocations: 12 kB / 384.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09587, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.003611/0.09952, allocations: 3.421 MB / 446.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1013, allocations: 1.213 MB / 448 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.1016, allocations: 19.88 kB / 448.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1018, allocations: 79.17 kB / 448.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1022, allocations: 143 kB / 448.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.1027, allocations: 299.5 kB / 448.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.1034, allocations: 0.737 MB / 449.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.1037, allocations: 232.8 kB / 449.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.104, allocations: 246.7 kB / 449.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.1043, allocations: 258.4 kB / 450 MB, free: 6.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.1043, allocations: 24 kB / 450.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.1044, allocations: 24 kB / 450.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1045, allocations: 99.47 kB / 450.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1046, allocations: 141.3 kB / 450.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.105, allocations: 0.5377 MB / 450.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.105, allocations: 0 / 450.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.105, allocations: 0 / 450.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.105, allocations: 0 / 450.8 MB, free: 5.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001327/0.1064, allocations: 0.9541 MB / 451.8 MB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1064, allocations: 8.031 kB / 451.8 MB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1065, allocations: 90.88 kB / 451.9 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.1071, allocations: 490.5 kB / 452.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1072, allocations: 49.31 kB / 452.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.1073, allocations: 59.91 kB / 452.5 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.1081, allocations: 0.6115 MB / 453.1 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1082, allocations: 7.938 kB / 453.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.1082, allocations: 23.95 kB / 453.1 MB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1082, allocations: 16 kB / 453.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.1089, allocations: 402.2 kB / 453.5 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/0.2785, allocations: 3.023 MB / 456.6 MB, free: 45.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.2793, allocations: 466.8 kB / 457 MB, free: 45.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.2796, allocations: 183.9 kB / 457.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2797, allocations: 5.25 kB / 457.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2797, allocations: 39.19 kB / 457.2 MB, free: 45.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/0.2797, allocations: 0 / 457.2 MB, free: 45.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001003/0.2807, allocations: 0.575 MB / 457.8 MB, free: 45.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2807, allocations: 108.2 kB / 457.9 MB, free: 45.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.2812, allocations: 0.5399 MB / 458.5 MB, free: 45.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2812, allocations: 36.83 kB / 458.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2814, allocations: 370.9 kB / 458.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.2815, allocations: 154.3 kB / 459 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.2815, allocations: 14.41 kB / 459 MB, free: 44.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.2816, allocations: 382.9 kB / 459.4 MB, free: 44.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.2819, allocations: 181.1 kB / 459.6 MB, free: 44.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2822, allocations: 400.9 kB / 460 MB, free: 44.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2826, allocations: 248 kB / 460.2 MB, free: 44.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2826, allocations: 2.906 kB / 460.2 MB, free: 44.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008855/0.2835, allocations: 0.6572 MB / 460.9 MB, free: 44.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.2836, allocations: 299 kB / 461.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2836, allocations: 5.562 kB / 461.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2836, allocations: 15.94 kB / 461.2 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.2841, allocations: 143.8 kB / 461.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2841, allocations: 14.16 kB / 461.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.2844, allocations: 78.61 kB / 461.4 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.2845, allocations: 28.66 kB / 461.4 MB, free: 43.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/0.2845, allocations: 2.844 kB / 461.4 MB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007466/0.2852, allocations: 0.5433 MB / 462 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2853, allocations: 5.906 kB / 462 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2853, allocations: 11.69 kB / 462 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.2857, allocations: 141.2 kB / 462.1 MB, free: 43.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2857, allocations: 15.53 kB / 462.2 MB, free: 43.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.286, allocations: 64.41 kB / 462.2 MB, free: 43.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.286, allocations: 29.97 kB / 462.2 MB, free: 43.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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 0.0001816/0.2862, allocations: 269.3 kB / 462.5 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.2863, allocations: 71.47 kB / 462.6 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.2864, allocations: 70.89 kB / 462.6 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2864, allocations: 5.516 kB / 462.7 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2864, allocations: 2.938 kB / 462.7 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2865, allocations: 7.406 kB / 462.7 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.2871, allocations: 0.5784 MB / 463.2 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2871, allocations: 4.438 kB / 463.2 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.2875, allocations: 93.39 kB / 463.3 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2875, allocations: 2.812 kB / 463.3 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.2875, allocations: 12.78 kB / 463.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2876, allocations: 2.75 kB / 463.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2876, allocations: 0 / 463.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2886, allocations: 0.8133 MB / 464.2 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.2887, allocations: 165.3 kB / 464.3 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.2888, allocations: 14.22 kB / 464.3 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2891, allocations: 30.75 kB / 464.4 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.2892, allocations: 25.56 kB / 464.4 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2892, allocations: 19.84 kB / 464.4 MB, free: 42.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.2895, allocations: 368.2 kB / 464.8 MB, free: 42.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.2895, allocations: 0 / 464.8 MB, free: 42.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006512/0.2901, allocations: 247.1 kB / 465 MB, free: 42.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * 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 (39): * Single equations (assignments): 39 * 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 Backend phase and start with SimCode phase: time 8.336e-05/0.2902, allocations: 106.8 kB / 465.1 MB, free: 42.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2913, allocations: 0.7501 MB / 465.9 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2913, allocations: 0 / 465.9 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2916, allocations: 202.2 kB / 466.1 MB, free: 42.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.2924, allocations: 166.2 kB / 466.2 MB, free: 42.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.2941, allocations: 1.721 MB / 468 MB, free: 41.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2943, allocations: 0.9124 MB / 468.9 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2945, allocations: 43.28 kB / 468.9 MB, free: 40.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2945, allocations: 0 / 468.9 MB, free: 40.68 MB / 382.1 MB Notification: Performance of Templates: time 0.007387/0.3019, allocations: 7.606 MB / 476.5 MB, free: 39.97 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o] Error 1