Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_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.0008585/0.0008586, allocations: 98.3 kB / 16.96 MB, free: 5.582 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.0008636/0.0008636, allocations: 183 kB / 17.85 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003413, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002155/0.1669, allocations: 1.235 MB / 353.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1691, allocations: 0.8277 MB / 353.9 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.1692, allocations: 0 / 353.9 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1693, allocations: 11.92 kB / 353.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1694, allocations: 11.88 kB / 354 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1698, allocations: 43.94 kB / 354 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1701, allocations: 115.7 kB / 354.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1703, allocations: 21.39 kB / 354.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/0.1711, allocations: 0.5732 MB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1713, allocations: 103.7 kB / 354.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.1714, allocations: 4 kB / 354.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.1714, allocations: 4 kB / 354.8 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1716, allocations: 75.75 kB / 354.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1717, allocations: 77.52 kB / 355 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.1722, allocations: 363.1 kB / 355.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1722, allocations: 4 kB / 355.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1722, allocations: 0 / 355.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1722, allocations: 0 / 355.3 MB, free: 0.5273 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.001043/0.1733, allocations: 0.7363 MB / 356.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.1733, allocations: 8.031 kB / 356.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1735, allocations: 47.44 kB / 356.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1739, allocations: 273.3 kB / 356.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.1739, allocations: 4 kB / 356.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.174, allocations: 16 kB / 356.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.1745, allocations: 165.5 kB / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1745, allocations: 0 / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.1745, allocations: 11.95 kB / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1746, allocations: 0 / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1748, allocations: 87.89 kB / 356.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.1757, allocations: 0.4965 MB / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.176, allocations: 130.4 kB / 357.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.1762, allocations: 108.9 kB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1762, allocations: 4.109 kB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.1768, allocations: 242.6 kB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1768, allocations: 0 / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001276/0.1781, allocations: 0.6263 MB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.1783, allocations: 191.9 kB / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/0.1792, allocations: 0.5601 MB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.1793, allocations: 33.7 kB / 359 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1794, allocations: 117 kB / 359.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.1795, allocations: 23.72 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1795, allocations: 4 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.1798, allocations: 330.8 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.18, allocations: 83.95 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.1803, allocations: 109.1 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1805, allocations: 208.5 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1805, allocations: 0 / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008242/0.1814, allocations: 0.5019 MB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.1816, allocations: 156.5 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1816, allocations: 0 / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1816, allocations: 0 / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.1817, allocations: 7.938 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1817, allocations: 4.031 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1819, allocations: 12 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.182, allocations: 101.2 kB / 360.7 MB, free: 10.75 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.0004786/0.1825, allocations: 400.1 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.1826, allocations: 55.38 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1828, allocations: 71.47 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1828, allocations: 0 / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1828, allocations: 4 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1828, allocations: 3.984 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.1842, allocations: 0.9555 MB / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1842, allocations: 0 / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.1842, allocations: 4 kB / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1842, allocations: 0 / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.1843, allocations: 23.98 kB / 362.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1843, allocations: 0 / 362.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1843, allocations: 0 / 362.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.1852, allocations: 0.6596 MB / 362.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.1856, allocations: 268.2 kB / 363.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.1857, allocations: 12 kB / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1859, allocations: 15.98 kB / 363.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.1861, allocations: 55.92 kB / 363.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.1862, allocations: 109.1 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005893/0.1868, allocations: 422.8 kB / 363.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1868, allocations: 4 kB / 363.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1872, allocations: 48 kB / 363.7 MB, free: 7.477 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.0002024/0.1874, allocations: 115.1 kB / 363.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.1881, allocations: 0.536 MB / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1881, allocations: 0 / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.1886, allocations: 468.9 kB / 364.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.1895, allocations: 168.1 kB / 365 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1911, allocations: 0.8859 MB / 365.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.1916, allocations: 0.8223 MB / 366.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1917, allocations: 11.44 kB / 366.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1917, allocations: 4 kB / 366.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Templates: time 0.2877/0.4794, allocations: 4.255 MB / 371 MB, free: 25.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1CalcHelperMain.o] Error 1