Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_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.001168/0.001168, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001034/0.001034, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.842/1.842, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001564/0.001564, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1225, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003412/0.1259, allocations: 1.851 MB / 329.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1282, allocations: 1.034 MB / 330.1 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.1283, allocations: 3.938 kB / 330.1 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1285, allocations: 23.84 kB / 330.2 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.1286, allocations: 23.78 kB / 330.2 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.129, allocations: 95.84 kB / 330.3 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1293, allocations: 243.4 kB / 330.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1294, allocations: 49.67 kB / 330.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.1302, allocations: 0.7173 MB / 331.3 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1304, allocations: 143.4 kB / 331.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.1305, allocations: 12 kB / 331.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.1305, allocations: 8 kB / 331.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1307, allocations: 143.3 kB / 331.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.131, allocations: 234.2 kB / 331.8 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.1315, allocations: 0.6082 MB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1315, allocations: 0 / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1315, allocations: 0 / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1315, allocations: 4 kB / 332.4 MB, free: 15.7 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001252/0.1328, allocations: 1.161 MB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1329, allocations: 12.02 kB / 333.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.133, allocations: 76.09 kB / 333.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.1335, allocations: 392.1 kB / 334 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1336, allocations: 16.56 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.1336, allocations: 16.38 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1342, allocations: 254.2 kB / 334.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1342, allocations: 0 / 334.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.1342, allocations: 16 kB / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1343, allocations: 0 / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.1346, allocations: 136.2 kB / 334.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1358, allocations: 0.7348 MB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.1362, allocations: 206.4 kB / 335.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.1366, allocations: 180.8 kB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1367, allocations: 0 / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.1374, allocations: 397.6 kB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.774e-06/0.1374, allocations: 4 kB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001459/0.1389, allocations: 0.9208 MB / 336.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.139, allocations: 281 kB / 337.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1402, allocations: 0.9451 MB / 338.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.1403, allocations: 37.7 kB / 338.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.1404, allocations: 130 kB / 338.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.1405, allocations: 63.31 kB / 338.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.1407, allocations: 157.1 kB / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1409, allocations: 338.8 kB / 338.8 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.1411, allocations: 128.2 kB / 339 MB, free: 8.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.1415, allocations: 167.7 kB / 339.1 MB, free: 8.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.1422, allocations: 0.7022 MB / 339.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1422, allocations: 7.938 kB / 339.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0011/0.1434, allocations: 0.7525 MB / 340.6 MB, free: 6.949 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1435, allocations: 245.6 kB / 340.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1436, allocations: 0 / 340.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1436, allocations: 3.984 kB / 340.8 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.1436, allocations: 8 kB / 340.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1436, allocations: 3.984 kB / 340.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.1439, allocations: 31.92 kB / 340.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.1441, allocations: 108.2 kB / 341 MB, free: 6.508 MB / 286.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,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007548/0.1449, allocations: 0.6162 MB / 341.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.145, allocations: 83 kB / 341.7 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1452, allocations: 130.9 kB / 341.8 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1452, allocations: 0 / 341.8 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1452, allocations: 0 / 341.8 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1452, allocations: 3.984 kB / 341.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.1471, allocations: 1.429 MB / 343.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1471, allocations: 0 / 343.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.1471, allocations: 4 kB / 343.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1471, allocations: 0 / 343.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.1472, allocations: 35.97 kB / 343.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1472, allocations: 0 / 343.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1472, allocations: 0 / 343.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1484, allocations: 0.9688 MB / 344.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.149, allocations: 419.6 kB / 344.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1491, allocations: 24 kB / 344.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1494, allocations: 23.98 kB / 344.7 MB, free: 2.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.1495, allocations: 51.94 kB / 344.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.1497, allocations: 115.8 kB / 344.9 MB, free: 2.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009296/0.1506, allocations: 0.6899 MB / 345.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 0 / 345.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.151, allocations: 91.94 kB / 345.6 MB, free: 1.586 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: 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 (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.0001965/0.1512, allocations: 147.2 kB / 345.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1522, allocations: 0.8779 MB / 346.7 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1523, allocations: 0 / 346.7 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.153, allocations: 0.753 MB / 347.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.154, allocations: 242.9 kB / 347.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1562, allocations: 1.578 MB / 349.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.1568, allocations: 0.944 MB / 350.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.157, allocations: 51.34 kB / 350.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.157, allocations: 0 / 350.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.008143/0.1651, allocations: 5.374 MB / 355.6 MB, free: 7.324 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.WiredXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o] Error 1