Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008614/0.0008614, allocations: 93.58 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009167/0.0009168, allocations: 196.9 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003634, allocations: 8 kB / 418.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002209/0.1745, allocations: 1.26 MB / 483.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.1747, allocations: 55.77 kB / 483.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.1748, allocations: 0 / 483.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1749, allocations: 15.86 kB / 483.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.175, allocations: 4 kB / 483.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.695e-05/0.1751, allocations: 15.98 kB / 483.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1752, allocations: 67.81 kB / 483.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1755, allocations: 101.9 kB / 483.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.1755, allocations: 15.92 kB / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.1756, allocations: 19.86 kB / 483.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1756, allocations: 0 / 483.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1756, allocations: 0 / 483.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.1757, allocations: 55.83 kB / 483.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.1758, allocations: 45.64 kB / 483.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.176, allocations: 103.8 kB / 483.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.176, allocations: 0 / 483.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.176, allocations: 0 / 483.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.176, allocations: 0 / 483.9 MB, free: 3.641 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007237/0.1768, allocations: 411.6 kB / 484.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.1768, allocations: 8.562 kB / 484.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.1769, allocations: 15.81 kB / 484.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1772, allocations: 218.8 kB / 484.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.1773, allocations: 20.36 kB / 484.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.1773, allocations: 16 kB / 484.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.1778, allocations: 192.5 kB / 484.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1778, allocations: 0 / 484.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1778, allocations: 11.94 kB / 484.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1778, allocations: 8 kB / 484.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1781, allocations: 123.7 kB / 484.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.1789, allocations: 0.4958 MB / 485.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.179, allocations: 46.56 kB / 485.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.1791, allocations: 32.97 kB / 485.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1791, allocations: 0 / 485.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1791, allocations: 30.56 kB / 485.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.1791, allocations: 0 / 485.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002832/0.1794, allocations: 93.45 kB / 485.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.1795, allocations: 55.41 kB / 485.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1796, allocations: 105.8 kB / 485.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1797, allocations: 25.7 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1798, allocations: 139.9 kB / 485.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1798, allocations: 19.73 kB / 485.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.1798, allocations: 0 / 485.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.18, allocations: 318.8 kB / 486.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1801, allocations: 19.98 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.1801, allocations: 8 kB / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.1802, allocations: 16.36 kB / 486.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1802, allocations: 0 / 486.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001331/0.1803, allocations: 73.62 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1804, allocations: 4 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1804, allocations: 4 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1804, allocations: 0 / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1805, allocations: 11.98 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1805, allocations: 0 / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1806, allocations: 7.906 kB / 486.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1806, allocations: 4 kB / 486.4 MB, free: 0.9258 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (5): * Single equations (assignments): 5 * 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.0001635/0.1808, allocations: 137.8 kB / 486.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1808, allocations: 0 / 486.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.1808, allocations: 15.97 kB / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1809, allocations: 0 / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1809, allocations: 0 / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1809, allocations: 0 / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1813, allocations: 366.5 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1813, allocations: 0 / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.1813, allocations: 12 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1814, allocations: 4 kB / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1814, allocations: 0 / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1814, allocations: 0 / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1814, allocations: 0 / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1816, allocations: 179.3 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1816, allocations: 77.11 kB / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1817, allocations: 4 kB / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.1817, allocations: 7.938 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1818, allocations: 7.984 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1818, allocations: 4.188 kB / 487.2 MB, free: 28 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.1819, allocations: 79.28 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1819, allocations: 0 / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1821, allocations: 39.67 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.000173/0.1823, allocations: 95.23 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1825, allocations: 35.98 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.1825, allocations: 4 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1826, allocations: 23.92 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1829, allocations: 12.5 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.1837, allocations: 352.3 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.1843, allocations: 0.7316 MB / 488.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.1844, allocations: 11.44 kB / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1844, allocations: 0 / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Templates: time 0.003915/0.1883, allocations: 1.225 MB / 489.7 MB, free: 13.37 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.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_trunk_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o] Error 1