Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 94.73 kB / 16.96 MB, free: 5.562 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.001095/0.001095, allocations: 187.6 kB / 17.85 MB, free: 5.234 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.57/1.57, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003137, allocations: 8 kB / 301.4 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 50.42 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002377/0.1432, allocations: 1.45 MB / 353.3 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1453, allocations: 0.9088 MB / 354.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.1455, allocations: 4 kB / 354.2 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1456, allocations: 15.86 kB / 354.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.93e-05/0.1457, allocations: 35.77 kB / 354.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1462, allocations: 71.91 kB / 354.4 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1465, allocations: 231.4 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1466, allocations: 41.84 kB / 354.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.1475, allocations: 0.6317 MB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1477, allocations: 159.6 kB / 355.4 MB, free: 440 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.1478, allocations: 11.94 kB / 355.4 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.1479, allocations: 8 kB / 355.4 MB, free: 420 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.148, allocations: 131.6 kB / 355.6 MB, free: 288 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1482, allocations: 121.3 kB / 355.7 MB, free: 160 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1488, allocations: 0.5926 MB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.1488, allocations: 4 kB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1488, allocations: 4 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.1488, allocations: 0 / 356.3 MB, free: 15.55 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0013/0.1502, allocations: 1.044 MB / 357.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1502, allocations: 12.03 kB / 357.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1504, allocations: 71.16 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1508, allocations: 363.6 kB / 357.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.1509, allocations: 16.19 kB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.151, allocations: 20 kB / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.1516, allocations: 243.2 kB / 358 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1516, allocations: 0 / 358 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.1516, allocations: 15.95 kB / 358 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1517, allocations: 7.984 kB / 358.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.152, allocations: 136.6 kB / 358.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1532, allocations: 0.7315 MB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.1536, allocations: 194.5 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.1539, allocations: 176.8 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1539, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/0.1545, allocations: 396.8 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.1545, allocations: 0 / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001866/0.1564, allocations: 0.9357 MB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.1566, allocations: 281 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.1582, allocations: 0.9529 MB / 361.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.1583, allocations: 37.7 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1584, allocations: 122 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/0.1585, allocations: 71.08 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1585, allocations: 8 kB / 362.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1587, allocations: 338.8 kB / 362.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.159, allocations: 128.2 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1593, allocations: 168.7 kB / 362.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.1597, allocations: 354.2 kB / 363 MB, free: 8.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1598, allocations: 0 / 363 MB, free: 8.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001239/0.161, allocations: 0.7448 MB / 363.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.1612, allocations: 249.7 kB / 364 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1612, allocations: 4 kB / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1612, allocations: 0 / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.1613, allocations: 4 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1613, allocations: 11.92 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.1617, allocations: 31.92 kB / 364.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.1618, allocations: 104.2 kB / 364.2 MB, free: 7.102 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.000853/0.1627, allocations: 0.6201 MB / 364.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1628, allocations: 79.06 kB / 364.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.163, allocations: 126.9 kB / 365 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1631, allocations: 4 kB / 365 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1631, allocations: 0 / 365 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1631, allocations: 0 / 365 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.1652, allocations: 1.421 MB / 366.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1653, allocations: 4 kB / 366.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.1653, allocations: 8 kB / 366.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1653, allocations: 0 / 366.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.1654, allocations: 31.97 kB / 366.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1654, allocations: 0 / 366.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1654, allocations: 0 / 366.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.167, allocations: 0.9608 MB / 367.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/0.1677, allocations: 415.8 kB / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1678, allocations: 27.94 kB / 367.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1681, allocations: 35.92 kB / 367.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.1683, allocations: 59.92 kB / 367.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.1685, allocations: 111.9 kB / 368.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.1696, allocations: 0.686 MB / 368.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1696, allocations: 0 / 368.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.17, allocations: 95.91 kB / 368.8 MB, free: 2.18 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0002125/0.1702, allocations: 147.2 kB / 369 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1715, allocations: 0.8927 MB / 369.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1715, allocations: 3.938 kB / 369.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.1723, allocations: 0.7491 MB / 370.6 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.281/0.4534, allocations: 233.6 kB / 370.9 MB, free: 25.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.4576, allocations: 1.506 MB / 372.4 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/0.4586, allocations: 0.9426 MB / 373.3 MB, free: 24.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4588, allocations: 52.75 kB / 373.4 MB, free: 24.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.345e-06/0.4588, allocations: 0 / 373.4 MB, free: 24.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01769/0.4765, allocations: 5.359 MB / 378.7 MB, free: 23.58 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.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.WiredXCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o] Error 1