Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.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) 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(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008684, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.001186/0.001186, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.911/1.911, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0005691/0.0005693, allocations: 16 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 47.57 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00272/0.1356, allocations: 1.271 MB / 330.9 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1384, allocations: 0.925 MB / 331.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1386, allocations: 4 kB / 331.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1387, allocations: 7.922 kB / 331.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1389, allocations: 15.88 kB / 331.8 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1394, allocations: 51.94 kB / 331.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.1397, allocations: 135.6 kB / 332 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1398, allocations: 21.34 kB / 332 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008876/0.1407, allocations: 0.6278 MB / 332.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.141, allocations: 91.61 kB / 332.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.141, allocations: 4 kB / 332.7 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.1411, allocations: 4 kB / 332.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1412, allocations: 71.75 kB / 332.8 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.1414, allocations: 156.7 kB / 333 MB, free: 364 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.1419, allocations: 363.4 kB / 333.3 MB, free: 0 / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.142, allocations: 128 / 333.3 MB, free: 16 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.142, allocations: 3.938 kB / 333.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.142, allocations: 4 kB / 333.3 MB, free: 15.99 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00127/0.1433, allocations: 0.736 MB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.646e-05/0.1434, allocations: 12.03 kB / 334.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1435, allocations: 40.47 kB / 334.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.144, allocations: 298.1 kB / 334.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.144, allocations: 4.375 kB / 334.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.1441, allocations: 8.375 kB / 334.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.1445, allocations: 173.9 kB / 334.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1445, allocations: 0 / 334.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.1446, allocations: 4 kB / 334.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1446, allocations: 0 / 334.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1448, allocations: 83.95 kB / 334.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.1458, allocations: 0.5003 MB / 335.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1461, allocations: 122.5 kB / 335.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.1463, allocations: 116.8 kB / 335.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1463, allocations: 4 kB / 335.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1468, allocations: 238.6 kB / 335.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.1468, allocations: 0 / 335.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001162/0.148, allocations: 0.6148 MB / 336.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.1482, allocations: 199.8 kB / 336.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.149, allocations: 0.5639 MB / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.149, allocations: 29.7 kB / 337.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.1492, allocations: 117.1 kB / 337.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.1492, allocations: 35.59 kB / 337.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.1493, allocations: 29.7 kB / 337.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1495, allocations: 326.9 kB / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1497, allocations: 91.89 kB / 337.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1498, allocations: 97.47 kB / 337.7 MB, free: 11.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.1503, allocations: 442.5 kB / 338.2 MB, free: 10.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1503, allocations: 7.938 kB / 338.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007149/0.151, allocations: 0.4979 MB / 338.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1511, allocations: 151.2 kB / 338.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1512, allocations: 0 / 338.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1512, allocations: 3.984 kB / 338.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.357e-05/0.1512, allocations: 4 kB / 338.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1512, allocations: 0 / 338.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.1514, allocations: 19.98 kB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.1516, allocations: 101.3 kB / 339 MB, free: 9.914 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0004056/0.152, allocations: 400 kB / 339.3 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.1521, allocations: 47.52 kB / 339.4 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.1522, allocations: 67.48 kB / 339.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1522, allocations: 0 / 339.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.1522, allocations: 0 / 339.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1523, allocations: 0 / 339.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.1538, allocations: 0.9749 MB / 340.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1539, allocations: 4 kB / 340.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-06/0.1539, allocations: 0 / 340.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1539, allocations: 128 / 340.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.1539, allocations: 23.98 kB / 340.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.154, allocations: 0 / 340.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.154, allocations: 3.938 kB / 340.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.155, allocations: 0.6638 MB / 341.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.1555, allocations: 252.4 kB / 341.4 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.1556, allocations: 16 kB / 341.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1557, allocations: 19.98 kB / 341.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.1559, allocations: 55.88 kB / 341.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.1561, allocations: 105.2 kB / 341.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006087/0.1567, allocations: 418.8 kB / 342 MB, free: 6.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1567, allocations: 0 / 342 MB, free: 6.695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.157, allocations: 48 kB / 342 MB, free: 6.648 MB / 286.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.0002032/0.1572, allocations: 119.2 kB / 342.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.1579, allocations: 0.5321 MB / 342.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1579, allocations: 4 kB / 342.7 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.1584, allocations: 461 kB / 343.1 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.1593, allocations: 165.9 kB / 343.3 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1607, allocations: 0.925 MB / 344.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.1612, allocations: 0.8185 MB / 345 MB, free: 3.449 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1612, allocations: 11.44 kB / 345 MB, free: 3.438 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1612, allocations: 0 / 345 MB, free: 3.438 MB / 286.1 MB Notification: Performance of Templates: time 0.008386/0.1696, allocations: 4.283 MB / 349.3 MB, free: 15.04 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.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 OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o] Error 1