Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 103 kB / 16.52 MB, free: 6.262 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.002229/0.002228, allocations: 195.5 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.796/2.796, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3876/0.3876, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.001859/0.001859, allocations: 65.23 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2349, allocations: 57.8 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.005352/0.2403, allocations: 1.6 MB / 442.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.2406, allocations: 47.78 kB / 442.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2407, allocations: 4 kB / 442.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.241, allocations: 15.86 kB / 442.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.2411, allocations: 3.984 kB / 442.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.2413, allocations: 16 kB / 442.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2415, allocations: 71.81 kB / 442.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.2419, allocations: 115.7 kB / 442.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.242, allocations: 43.91 kB / 442.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2421, allocations: 39.78 kB / 442.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.2422, allocations: 8 kB / 442.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.788e-05/0.2422, allocations: 8 kB / 442.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.2424, allocations: 59.89 kB / 442.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2425, allocations: 63.55 kB / 442.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2427, allocations: 111.8 kB / 442.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2427, allocations: 0 / 442.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2427, allocations: 3.938 kB / 442.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.2428, allocations: 0 / 442.7 MB, free: 5.293 MB / 318.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.0009451/0.2437, allocations: 440 kB / 443.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.818e-05/0.2438, allocations: 8.031 kB / 443.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.2439, allocations: 16.75 kB / 443.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.2443, allocations: 216.2 kB / 443.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2443, allocations: 12.75 kB / 443.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2444, allocations: 20.38 kB / 443.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.2449, allocations: 189.1 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2449, allocations: 3.938 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.245, allocations: 8 kB / 443.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.245, allocations: 11.94 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2453, allocations: 138.9 kB / 443.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.2463, allocations: 491.8 kB / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2465, allocations: 46.5 kB / 444.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.2466, allocations: 32.91 kB / 444.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2466, allocations: 0 / 444.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.2467, allocations: 34.56 kB / 444.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.2467, allocations: 4 kB / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003631/0.247, allocations: 73.58 kB / 444.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.2471, allocations: 55.41 kB / 444.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2473, allocations: 109.8 kB / 444.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2473, allocations: 29.7 kB / 444.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2475, allocations: 139.9 kB / 444.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.2475, allocations: 15.75 kB / 444.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.2476, allocations: 21.72 kB / 444.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.2478, allocations: 314.8 kB / 445 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.2479, allocations: 16 kB / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.248, allocations: 11.98 kB / 445.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.2481, allocations: 32.84 kB / 445.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2481, allocations: 0 / 445.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001453/0.2482, allocations: 65.91 kB / 445.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2483, allocations: 8 kB / 445.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2483, allocations: 4.062 kB / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2483, allocations: 0 / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2484, allocations: 19.92 kB / 445.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2485, allocations: 0 / 445.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.2485, allocations: 4 kB / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2485, allocations: 0 / 445.2 MB, free: 2.531 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.2487, allocations: 137.8 kB / 445.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.2487, allocations: 7.938 kB / 445.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2488, allocations: 7.969 kB / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2488, allocations: 0 / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2488, allocations: 0 / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.2488, allocations: 11.98 kB / 445.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.2494, allocations: 370.3 kB / 445.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2494, allocations: 3.938 kB / 445.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.2494, allocations: 11.98 kB / 445.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2495, allocations: 0 / 445.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2495, allocations: 0 / 445.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2495, allocations: 0 / 445.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2495, allocations: 0 / 445.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.2498, allocations: 167.5 kB / 445.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.2499, allocations: 88.95 kB / 446 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2499, allocations: 3.938 kB / 446 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.2499, allocations: 0 / 446 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.25, allocations: 7.984 kB / 446 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.25, allocations: 0 / 446 MB, free: 1.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.2501, allocations: 87.28 kB / 446.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2501, allocations: 4 kB / 446.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.2504, allocations: 23.84 kB / 446.1 MB, free: 1.516 MB / 318.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 (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.0001974/0.2506, allocations: 95.23 kB / 446.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.2508, allocations: 36.05 kB / 446.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2508, allocations: 0 / 446.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.2508, allocations: 23.92 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2513, allocations: 12 kB / 446.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.2523, allocations: 378.7 kB / 446.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.2529, allocations: 0.7238 MB / 447.4 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.2529, allocations: 11.44 kB / 447.4 MB, free: 180 kB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2529, allocations: 0 / 447.4 MB, free: 180 kB / 318.1 MB Notification: Performance of Templates: time 0.005436/0.2584, allocations: 1.238 MB / 448.6 MB, free: 14.94 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemuxCalcHelperMain.o] Error 1