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.001252/0.001253, allocations: 87.81 kB / 16.67 MB, free: 6.59 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.001758/0.001758, allocations: 180.3 kB / 17.57 MB, free: 6.191 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.896/1.896, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.2751/0.2751, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.000542/0.000542, allocations: 23.41 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001611/0.1428, allocations: 1.261 MB / 445.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.143, allocations: 48.58 kB / 445.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.1431, allocations: 7.938 kB / 445.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1433, allocations: 15.92 kB / 445.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.1433, allocations: 3.938 kB / 445.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.553e-05/0.1434, allocations: 15.98 kB / 445.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1435, allocations: 67.81 kB / 445.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1438, allocations: 123.4 kB / 445.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.1439, allocations: 19.91 kB / 445.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1439, allocations: 15.86 kB / 445.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.144, allocations: 4 kB / 445.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.144, allocations: 4 kB / 445.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1441, allocations: 55.83 kB / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.1441, allocations: 73.33 kB / 445.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1443, allocations: 95.81 kB / 445.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1443, allocations: 0 / 445.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1443, allocations: 0 / 445.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1443, allocations: 0 / 445.9 MB, free: 3.324 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.0004977/0.1448, allocations: 403.5 kB / 446.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1449, allocations: 20.02 kB / 446.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.145, allocations: 16.75 kB / 446.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1452, allocations: 212.1 kB / 446.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1452, allocations: 12.75 kB / 446.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1452, allocations: 16.38 kB / 446.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1456, allocations: 201.1 kB / 446.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1457, allocations: 3.938 kB / 446.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1457, allocations: 16 kB / 446.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1457, allocations: 4 kB / 446.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1459, allocations: 131 kB / 446.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.1466, allocations: 0.4958 MB / 447.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.1467, allocations: 46.56 kB / 447.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.1468, allocations: 32.91 kB / 447.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1468, allocations: 4 kB / 447.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1469, allocations: 30.56 kB / 447.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.1469, allocations: 0 / 447.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003151/0.1472, allocations: 89.52 kB / 447.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1473, allocations: 59.34 kB / 447.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.1474, allocations: 109.8 kB / 447.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1474, allocations: 25.7 kB / 447.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.1474, allocations: 135.9 kB / 447.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1475, allocations: 15.81 kB / 447.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1475, allocations: 13.72 kB / 448 MB, free: 1.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.1476, allocations: 326.8 kB / 448.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-05/0.1476, allocations: 8 kB / 448.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.1477, allocations: 15.98 kB / 448.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.1477, allocations: 32.84 kB / 448.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1478, allocations: 4 kB / 448.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/0.1479, allocations: 69.56 kB / 448.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1479, allocations: 10.19 kB / 448.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1479, allocations: 0 / 448.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1479, allocations: 3.984 kB / 448.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.148, allocations: 11.98 kB / 448.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.148, allocations: 0 / 448.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.1481, allocations: 7.906 kB / 448.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1481, allocations: 8 kB / 448.4 MB, free: 0.5547 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 9.544e-05/0.1482, allocations: 141.7 kB / 448.6 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.1482, allocations: 3.938 kB / 448.6 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.1483, allocations: 11.97 kB / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1483, allocations: 0 / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1483, allocations: 448 / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1483, allocations: 0 / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.1486, allocations: 374.4 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1487, allocations: 0 / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1487, allocations: 12 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1487, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1487, allocations: 4 kB / 449 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1487, allocations: 0 / 449 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1488, allocations: 0 / 449 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.149, allocations: 175.3 kB / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.149, allocations: 77.11 kB / 449.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1491, allocations: 0 / 449.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.1491, allocations: 4 kB / 449.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1492, allocations: 15.92 kB / 449.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1492, allocations: 0 / 449.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.1492, allocations: 87.58 kB / 449.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1492, allocations: 0 / 449.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1495, allocations: 31.75 kB / 449.4 MB, free: 15.54 MB / 334.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.0001163/0.1496, allocations: 91.25 kB / 449.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1498, allocations: 39.86 kB / 449.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1498, allocations: 3.938 kB / 449.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.1499, allocations: 23.98 kB / 449.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1502, allocations: 16.22 kB / 449.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.1509, allocations: 368.3 kB / 449.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1513, allocations: 0.7238 MB / 450.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1514, allocations: 11.44 kB / 450.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1514, allocations: 0 / 450.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Templates: time 0.003345/0.1547, allocations: 1.218 MB / 451.8 MB, free: 12.98 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