Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001173, allocations: 90.41 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.002105/0.002106, allocations: 181.4 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.5/1.5, allocations: 223.2 MB / 242.5 MB, free: 332 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.277/0.277, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 15.98 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 61.91 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001763/0.1433, allocations: 1.232 MB / 473.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.1435, allocations: 63.7 kB / 473.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.1435, allocations: 4 kB / 473.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1437, allocations: 11.92 kB / 473.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.14e-05/0.1437, allocations: 3.938 kB / 473.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.494e-05/0.1438, allocations: 19.98 kB / 473.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1439, allocations: 63.78 kB / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1442, allocations: 105.9 kB / 473.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.1442, allocations: 19.92 kB / 473.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.1443, allocations: 15.81 kB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1443, allocations: 4 kB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1443, allocations: 4 kB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.1444, allocations: 47.89 kB / 473.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.1444, allocations: 45.64 kB / 473.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1446, allocations: 103.8 kB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1446, allocations: 0 / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1446, allocations: 0 / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1446, allocations: 0 / 473.9 MB, free: 12 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.0004879/0.1451, allocations: 417.8 kB / 474.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1451, allocations: 12.03 kB / 474.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1452, allocations: 15.81 kB / 474.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1454, allocations: 210.9 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1455, allocations: 16.33 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1455, allocations: 20 kB / 474.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.1459, allocations: 188.6 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1459, allocations: 0 / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1459, allocations: 12 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1459, allocations: 8 kB / 474.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1461, allocations: 131.6 kB / 474.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1468, allocations: 0.4959 MB / 475.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.1469, allocations: 42.5 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.147, allocations: 32.92 kB / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.147, allocations: 0 / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.147, allocations: 38.56 kB / 475.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.147, allocations: 0 / 475.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002598/0.1473, allocations: 81.58 kB / 475.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1473, allocations: 51.41 kB / 475.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.1474, allocations: 109.8 kB / 475.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1474, allocations: 25.7 kB / 475.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.1475, allocations: 135.9 kB / 475.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1476, allocations: 15.75 kB / 475.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.1476, allocations: 15.88 kB / 476 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1477, allocations: 318.8 kB / 476.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.1477, allocations: 8 kB / 476.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.1478, allocations: 15.98 kB / 476.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.1478, allocations: 12 kB / 476.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1478, allocations: 3.984 kB / 476.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.148, allocations: 69.64 kB / 476.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.148, allocations: 4 kB / 476.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.148, allocations: 0 / 476.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.148, allocations: 0 / 476.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.1481, allocations: 15.94 kB / 476.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1481, allocations: 3.984 kB / 476.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.1481, allocations: 7.906 kB / 476.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1482, allocations: 4 kB / 476.4 MB, free: 9.285 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.0001067/0.1483, allocations: 137.8 kB / 476.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1483, allocations: 7.953 kB / 476.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.1483, allocations: 11.95 kB / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1483, allocations: 0 / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1484, allocations: 0 / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1484, allocations: 4 kB / 476.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.1487, allocations: 367 kB / 476.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1487, allocations: 7.953 kB / 476.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.1488, allocations: 11.98 kB / 476.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1488, allocations: 0 / 476.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1488, allocations: 4 kB / 476.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1488, allocations: 0 / 476.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1488, allocations: 4 kB / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.149, allocations: 163.4 kB / 477.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.149, allocations: 85.06 kB / 477.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1491, allocations: 0 / 477.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.1491, allocations: 0 / 477.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1491, allocations: 15.97 kB / 477.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1492, allocations: 0 / 477.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.1492, allocations: 87.28 kB / 477.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 7.938 kB / 477.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1494, allocations: 27.69 kB / 477.3 MB, free: 8.266 MB / 350.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.0001053/0.1495, allocations: 95.19 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1497, allocations: 35.97 kB / 477.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1497, allocations: 0 / 477.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.1497, allocations: 19.94 kB / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1501, allocations: 20.53 kB / 477.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1506, allocations: 348.4 kB / 477.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.151, allocations: 0.7316 MB / 478.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.151, allocations: 11.44 kB / 478.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.151, allocations: 0 / 478.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.00285/0.1538, allocations: 1.212 MB / 479.8 MB, free: 5.738 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o] Error 1