Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009998/0.0009994, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003282, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002208/0.1559, allocations: 1.242 MB / 360 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.158, allocations: 0.8659 MB / 360.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.1581, allocations: 0 / 360.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1582, allocations: 7.922 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1584, allocations: 23.86 kB / 360.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1587, allocations: 43.92 kB / 361 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1589, allocations: 119.7 kB / 361.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.159, allocations: 21.39 kB / 361.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008149/0.1599, allocations: 0.5615 MB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.16, allocations: 99.81 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1601, allocations: 8 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.063e-05/0.1601, allocations: 4 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1603, allocations: 71.7 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1604, allocations: 77.52 kB / 361.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1609, allocations: 367.1 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1609, allocations: 3.938 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1609, allocations: 0 / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1609, allocations: 0 / 362.3 MB, free: 10.59 MB / 302.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.001038/0.1619, allocations: 0.7363 MB / 363 MB, free: 9.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.162, allocations: 16.03 kB / 363 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1621, allocations: 43.44 kB / 363.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1626, allocations: 277.2 kB / 363.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1626, allocations: 11.95 kB / 363.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1627, allocations: 8 kB / 363.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.1633, allocations: 171.9 kB / 363.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1633, allocations: 0 / 363.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.1634, allocations: 7.984 kB / 363.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1634, allocations: 0 / 363.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1637, allocations: 83.95 kB / 363.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1649, allocations: 0.4964 MB / 364.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.1652, allocations: 122.5 kB / 364.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1655, allocations: 112.9 kB / 364.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1655, allocations: 7.938 kB / 364.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.1663, allocations: 242.6 kB / 364.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 3.036e-06/0.1663, allocations: 0 / 364.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001622/0.1679, allocations: 0.6183 MB / 365.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.1681, allocations: 195.9 kB / 365.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.1694, allocations: 0.564 MB / 366 MB, free: 6.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.1695, allocations: 33.64 kB / 366 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1696, allocations: 121 kB / 366.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1698, allocations: 23.72 kB / 366.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1698, allocations: 4 kB / 366.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003098/0.1701, allocations: 334.8 kB / 366.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1704, allocations: 79.95 kB / 366.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.1707, allocations: 101.7 kB / 366.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.1711, allocations: 204.5 kB / 366.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1711, allocations: 4 kB / 366.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001105/0.1722, allocations: 0.5018 MB / 367.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.1725, allocations: 152.5 kB / 367.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1725, allocations: 0 / 367.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.1725, allocations: 4 kB / 367.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.1726, allocations: 3.984 kB / 367.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1726, allocations: 0 / 367.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1729, allocations: 12 kB / 367.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.1731, allocations: 109.3 kB / 367.6 MB, free: 4.82 MB / 302.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.0007908/0.1739, allocations: 408.1 kB / 368 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.174, allocations: 43.44 kB / 368.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1743, allocations: 71.47 kB / 368.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1743, allocations: 0 / 368.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.1743, allocations: 0 / 368.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1743, allocations: 4 kB / 368.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.1762, allocations: 0.9595 MB / 369.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1763, allocations: 0 / 369.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.1763, allocations: 7.938 kB / 369.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1763, allocations: 0 / 369.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.1764, allocations: 23.98 kB / 369.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1764, allocations: 0 / 369.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1764, allocations: 0 / 369.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1777, allocations: 0.6672 MB / 369.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.1784, allocations: 264.2 kB / 370.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.1786, allocations: 12 kB / 370.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.1789, allocations: 19.98 kB / 370.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.1792, allocations: 55.94 kB / 370.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/0.1794, allocations: 101.2 kB / 370.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009329/0.1803, allocations: 422.8 kB / 370.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1803, allocations: 0 / 370.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000602/0.1809, allocations: 48 kB / 370.7 MB, free: 1.547 MB / 302.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.0003508/0.1813, allocations: 127.1 kB / 370.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1824, allocations: 0.5323 MB / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.1825, allocations: 0 / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.1832, allocations: 472.9 kB / 371.8 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.1848, allocations: 174.8 kB / 372 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2451/0.4299, allocations: 0.8694 MB / 372.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.4304, allocations: 0.8231 MB / 373.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4305, allocations: 12.03 kB / 373.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4305, allocations: 0.7812 kB / 373.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01057/0.441, allocations: 4.269 MB / 378 MB, free: 18.7 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o] Error 1