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.0008458/0.000846, allocations: 95.95 kB / 17.59 MB, free: 6.168 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.0008029/0.000803, allocations: 183.5 kB / 18.47 MB, free: 5.336 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.959/1.959, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004522/0.0004522, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1125, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001846/0.1144, allocations: 1.241 MB / 330.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1166, allocations: 0.8552 MB / 331.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.1167, allocations: 0 / 331.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1168, allocations: 11.92 kB / 331.1 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.117, allocations: 19.86 kB / 331.1 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1173, allocations: 39.95 kB / 331.1 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1175, allocations: 123.7 kB / 331.3 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1177, allocations: 21.38 kB / 331.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.1184, allocations: 0.5615 MB / 331.9 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1187, allocations: 103.8 kB / 332 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.1187, allocations: 8 kB / 332 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.1188, allocations: 4 kB / 332 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1189, allocations: 79.69 kB / 332 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1191, allocations: 81.45 kB / 332.1 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1194, allocations: 363.1 kB / 332.5 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1194, allocations: 0 / 332.5 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1194, allocations: 0 / 332.5 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1194, allocations: 4 kB / 332.5 MB, free: 0.543 MB / 270.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.0008082/0.1202, allocations: 0.7284 MB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1203, allocations: 8.031 kB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1204, allocations: 47.52 kB / 333.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1207, allocations: 285.2 kB / 333.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1207, allocations: 8 kB / 333.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1208, allocations: 8 kB / 333.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.1212, allocations: 168.9 kB / 333.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1212, allocations: 0 / 333.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.1212, allocations: 8 kB / 333.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1212, allocations: 0 / 333.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1214, allocations: 83.95 kB / 333.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.1222, allocations: 0.5081 MB / 334.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1224, allocations: 122.5 kB / 334.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.1226, allocations: 108.8 kB / 334.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1226, allocations: 4 kB / 334.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.123, allocations: 242.8 kB / 334.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.123, allocations: 3.938 kB / 334.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001017/0.1241, allocations: 0.6108 MB / 335.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1242, allocations: 191.9 kB / 335.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.1249, allocations: 0.5717 MB / 336.2 MB, free: 12.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1249, allocations: 29.7 kB / 336.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.125, allocations: 121.1 kB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.125, allocations: 31.61 kB / 336.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.1251, allocations: 4 kB / 336.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1252, allocations: 330.8 kB / 336.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1254, allocations: 79.95 kB / 336.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1256, allocations: 97.67 kB / 336.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.126, allocations: 212.6 kB / 337 MB, free: 11.62 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.126, allocations: 0 / 337 MB, free: 11.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007231/0.1267, allocations: 0.5057 MB / 337.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.1268, allocations: 148.5 kB / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1268, allocations: 4 kB / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1269, allocations: 0 / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.1269, allocations: 0 / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1269, allocations: 3.938 kB / 337.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.1271, allocations: 31.88 kB / 337.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.1273, allocations: 97.25 kB / 337.8 MB, free: 10.77 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,$whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.1276, allocations: 400.1 kB / 338.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.1277, allocations: 51.44 kB / 338.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1278, allocations: 67.47 kB / 338.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1278, allocations: 7.984 kB / 338.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1278, allocations: 0 / 338.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1278, allocations: 0 / 338.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.129, allocations: 0.9557 MB / 339.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.129, allocations: 0 / 339.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-06/0.129, allocations: 3.938 kB / 339.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.129, allocations: 4 kB / 339.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.129, allocations: 19.98 kB / 339.3 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.129, allocations: 4.125 kB / 339.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1291, allocations: 4 kB / 339.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.1299, allocations: 0.6556 MB / 340 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.1303, allocations: 256.3 kB / 340.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.1304, allocations: 12 kB / 340.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1305, allocations: 23.89 kB / 340.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.1307, allocations: 55.92 kB / 340.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.1308, allocations: 105.2 kB / 340.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005019/0.1313, allocations: 422.8 kB / 340.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1313, allocations: 0 / 340.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.1316, allocations: 48 kB / 340.9 MB, free: 7.504 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 (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.0001546/0.1318, allocations: 119.1 kB / 341 MB, free: 7.375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.1324, allocations: 0.536 MB / 341.5 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1324, allocations: 0 / 341.5 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1328, allocations: 468.9 kB / 342 MB, free: 6.258 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.1335, allocations: 157.9 kB / 342.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1348, allocations: 0.8821 MB / 343 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1353, allocations: 0.8262 MB / 343.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.1353, allocations: 11.44 kB / 343.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1353, allocations: 0 / 343.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of Templates: time 0.006212/0.1415, allocations: 4.278 MB / 348.2 MB, free: 15.94 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++ 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 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