Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000788/0.000794, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.0008143/0.0008145, allocations: 180.5 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.2 MB / 242.5 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.23 MB / 337.9 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005384/0.1572, allocations: 3.42 MB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1604, allocations: 1.165 MB / 476.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.1613, allocations: 19.88 kB / 476.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.1618, allocations: 75.23 kB / 476.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.1627, allocations: 138.9 kB / 477 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1638, allocations: 291.1 kB / 477.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1651, allocations: 0.7409 MB / 478 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.1656, allocations: 224.7 kB / 478.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.1661, allocations: 246.7 kB / 478.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1665, allocations: 254.5 kB / 478.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.1665, allocations: 20 kB / 478.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.1666, allocations: 24 kB / 478.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.1667, allocations: 99.47 kB / 478.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1668, allocations: 141.3 kB / 479 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.1674, allocations: 0.5377 MB / 479.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1674, allocations: 4 kB / 479.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1674, allocations: 0 / 479.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1674, allocations: 0 / 479.5 MB, free: 6.316 MB / 350.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.001628/0.1691, allocations: 0.9563 MB / 480.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1691, allocations: 8.031 kB / 480.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1693, allocations: 86.97 kB / 480.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.17, allocations: 486.5 kB / 481.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.17, allocations: 41.31 kB / 481.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1702, allocations: 67.86 kB / 481.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.1712, allocations: 0.6154 MB / 481.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1712, allocations: 0 / 481.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.1713, allocations: 24 kB / 481.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1713, allocations: 12 kB / 481.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.172, allocations: 398 kB / 482.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.176, allocations: 3.044 MB / 485.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.1769, allocations: 478.2 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.1773, allocations: 173.7 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1773, allocations: 19.95 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.1774, allocations: 34.56 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1774, allocations: 0 / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.001252/0.1787, allocations: 0.5638 MB / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.1788, allocations: 106.8 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.1794, allocations: 0.543 MB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.1794, allocations: 33.7 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.1797, allocations: 372.1 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1799, allocations: 153.8 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1799, allocations: 12 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1801, allocations: 378.7 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.1805, allocations: 185.2 kB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.1811, allocations: 405 kB / 488.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1816, allocations: 236.6 kB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1816, allocations: 4 kB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001167/0.1828, allocations: 0.664 MB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.1831, allocations: 286.3 kB / 489.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1831, allocations: 8 kB / 489.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.1831, allocations: 12 kB / 489.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.1836, allocations: 143.8 kB / 490 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.1837, allocations: 23.88 kB / 490 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.184, allocations: 75.36 kB / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.1841, allocations: 28 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.1841, allocations: 4 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009305/0.185, allocations: 0.5542 MB / 490.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1851, allocations: 8 kB / 490.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1851, allocations: 8 kB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.1855, allocations: 135.8 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1856, allocations: 15.88 kB / 490.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.1859, allocations: 67.7 kB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.1859, allocations: 24 kB / 490.9 MB, free: 10.32 MB / 366.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.0003094/0.1862, allocations: 280.8 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1863, allocations: 67.16 kB / 491.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.1865, allocations: 70.17 kB / 491.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1865, allocations: 8 kB / 491.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1865, allocations: 0 / 491.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.1865, allocations: 3.984 kB / 491.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.1873, allocations: 0.5673 MB / 491.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1873, allocations: 15.92 kB / 491.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.1878, allocations: 87.89 kB / 492 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1878, allocations: 4 kB / 492 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.1879, allocations: 8 kB / 492 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1879, allocations: 0 / 492 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1879, allocations: 4 kB / 492 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.1892, allocations: 0.8116 MB / 492.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.1894, allocations: 172.2 kB / 493 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.1895, allocations: 12 kB / 493 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1898, allocations: 35.97 kB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.1899, allocations: 31.95 kB / 493.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1899, allocations: 8 kB / 493.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000457/0.1904, allocations: 371.1 kB / 493.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1904, allocations: 0 / 493.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.1912, allocations: 243.2 kB / 493.7 MB, free: 7.461 MB / 366.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 0.0001418/0.1913, allocations: 107.2 kB / 493.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.1927, allocations: 0.737 MB / 494.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1927, allocations: 3.938 kB / 494.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.1931, allocations: 205.2 kB / 494.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.1941, allocations: 155.6 kB / 494.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1963, allocations: 1.715 MB / 496.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1968, allocations: 0.9184 MB / 497.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.197, allocations: 43.44 kB / 497.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.197, allocations: 0 / 497.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.2096, allocations: 7.574 MB / 0.4933 GB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o] Error 1