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.0007453/0.0007453, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.0007391/0.0007391, allocations: 186.7 kB / 17.22 MB, free: 5.883 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.324/1.324, allocations: 205.4 MB / 223.4 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3378/0.3378, allocations: 43.55 MB / 315.2 MB, free: 9.125 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.000476/0.000476, allocations: 16 kB / 384.6 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 58.85 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001816/0.1103, allocations: 1.241 MB / 444.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.1104, allocations: 43.84 kB / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.1105, allocations: 7.938 kB / 444.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1107, allocations: 11.92 kB / 444.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.1107, allocations: 7.922 kB / 444.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.064e-05/0.1108, allocations: 19.98 kB / 444.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1109, allocations: 67.81 kB / 444.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.1112, allocations: 101.9 kB / 444.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1113, allocations: 15.92 kB / 444.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1114, allocations: 19.86 kB / 444.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1114, allocations: 7.922 kB / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.1114, allocations: 0 / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.1115, allocations: 51.89 kB / 445 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.1115, allocations: 41.64 kB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1117, allocations: 99.81 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1117, allocations: 8 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1117, allocations: 0 / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1117, allocations: 0 / 445.1 MB, free: 11.29 MB / 382.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.0005638/0.1123, allocations: 407.6 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1124, allocations: 11.97 kB / 445.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1124, allocations: 19.77 kB / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1127, allocations: 218.7 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1127, allocations: 16.36 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1127, allocations: 20 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.1131, allocations: 196.3 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1132, allocations: 3.984 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1132, allocations: 8 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1132, allocations: 4 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1134, allocations: 131.6 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.1141, allocations: 0.4959 MB / 446.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.1142, allocations: 42.5 kB / 446.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1143, allocations: 32.97 kB / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.1143, allocations: 0 / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1143, allocations: 38.5 kB / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1143, allocations: 0 / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002637/0.1146, allocations: 77.67 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1147, allocations: 55.41 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1148, allocations: 105.8 kB / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1148, allocations: 33.7 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1149, allocations: 135.9 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.115, allocations: 19.72 kB / 447.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.115, allocations: 0 / 447.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1152, allocations: 322.8 kB / 447.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.1152, allocations: 11.98 kB / 447.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.1153, allocations: 19.94 kB / 447.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.1153, allocations: 15.98 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1153, allocations: 4 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000119/0.1154, allocations: 61.59 kB / 447.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1155, allocations: 4 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1155, allocations: 0 / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1155, allocations: 7.938 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1156, allocations: 19.98 kB / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1156, allocations: 0 / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.1157, allocations: 0 / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1157, allocations: 4 kB / 447.6 MB, free: 8.562 MB / 382.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.0001364/0.1158, allocations: 141.7 kB / 447.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1159, allocations: 7.906 kB / 447.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.1159, allocations: 3.969 kB / 447.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1159, allocations: 4 kB / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1159, allocations: 0 / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1159, allocations: 0 / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.1163, allocations: 371 kB / 448.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1163, allocations: 0 / 448.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.1164, allocations: 16 kB / 448.2 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1164, allocations: 4 kB / 448.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1164, allocations: 0 / 448.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1164, allocations: 0 / 448.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1164, allocations: 0 / 448.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1166, allocations: 163.5 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.1166, allocations: 81.02 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1166, allocations: 8 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.1167, allocations: 4 kB / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1167, allocations: 11.92 kB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1168, allocations: 0 / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.623e-05/0.1168, allocations: 87.28 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1168, allocations: 0 / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.117, allocations: 27.69 kB / 448.6 MB, free: 7.555 MB / 382.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.0001027/0.1171, allocations: 103.1 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1173, allocations: 39.98 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1173, allocations: 0 / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.1173, allocations: 15.98 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1176, allocations: 15.94 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.1182, allocations: 360.2 kB / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1185, allocations: 0.7238 MB / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1185, allocations: 15.44 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1185, allocations: 0 / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of Templates: time 0.002408/0.1209, allocations: 1.227 MB / 451 MB, free: 4.996 MB / 382.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++ 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_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