Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) 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_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.0009691, allocations: 90.7 kB / 16.37 MB, free: 6.43 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.001155/0.001155, allocations: 190 kB / 17.27 MB, free: 6.246 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.582/1.582, allocations: 223.3 MB / 241.3 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0556/0.0556, allocations: 12.06 MB / 304.4 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 368.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 53.35 MB / 421.6 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002667/0.3122, allocations: 2.036 MB / 423.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.3128, allocations: 394.8 kB / 424.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.3129, allocations: 4.719 kB / 424.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.3131, allocations: 27.8 kB / 424.1 MB, free: 18.01 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:13:51-13:58:writable] Warning: 'each' used when modifying non-array element dummy. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:13:65-13:75:writable] Warning: 'each' used when modifying non-array element dummy. Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3133, allocations: 16.61 kB / 424.1 MB, free: 18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3135, allocations: 76.97 kB / 424.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3137, allocations: 115.7 kB / 424.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.3139, allocations: 66.14 kB / 424.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.314, allocations: 51.77 kB / 424.4 MB, free: 17.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3141, allocations: 59.69 kB / 424.5 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.3141, allocations: 8.75 kB / 424.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3143, allocations: 51.97 kB / 424.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.3143, allocations: 33.22 kB / 424.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.3144, allocations: 49.62 kB / 424.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3146, allocations: 165.6 kB / 424.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3146, allocations: 0 / 424.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3146, allocations: 1.719 kB / 424.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3146, allocations: 0 / 424.8 MB, free: 17.33 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addReal.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007646/0.3154, allocations: 0.5114 MB / 425.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3154, allocations: 8.812 kB / 425.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3155, allocations: 15.81 kB / 425.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3156, allocations: 219.4 kB / 425.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3157, allocations: 15.98 kB / 425.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3157, allocations: 23.12 kB / 425.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.316, allocations: 179.2 kB / 425.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.316, allocations: 0 / 425.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3161, allocations: 4 kB / 425.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3161, allocations: 4 kB / 425.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3162, allocations: 91.94 kB / 425.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.3169, allocations: 0.5651 MB / 426.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3171, allocations: 121.1 kB / 426.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.907e-05/0.3172, allocations: 61.81 kB / 426.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3173, allocations: 3.953 kB / 426.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.3174, allocations: 132.7 kB / 426.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3174, allocations: 0 / 426.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004402/0.3179, allocations: 233.4 kB / 426.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3179, allocations: 89.05 kB / 427 MB, free: 14.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.318, allocations: 140.6 kB / 427.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.318, allocations: 37.69 kB / 427.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3181, allocations: 120.4 kB / 427.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.3181, allocations: 35.48 kB / 427.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.3181, allocations: 4 kB / 427.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.3182, allocations: 322.8 kB / 427.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.3183, allocations: 39.97 kB / 427.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.3184, allocations: 96.86 kB / 427.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.3185, allocations: 43.98 kB / 427.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3185, allocations: 0 / 427.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002174/0.3187, allocations: 165.5 kB / 428 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3187, allocations: 4.375 kB / 428 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3187, allocations: 7.938 kB / 428 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3187, allocations: 0 / 428 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3188, allocations: 31.92 kB / 428 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3189, allocations: 11.92 kB / 428.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.3189, allocations: 3.906 kB / 428.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3189, allocations: 12 kB / 428.1 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.uDPSend.dummy,uDPSend.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition1,addReal.pkgOut[1].trigger,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.0001149/0.319, allocations: 155.5 kB / 428.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.3191, allocations: 7.906 kB / 428.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3193, allocations: 150.3 kB / 428.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3193, allocations: 12.02 kB / 428.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3193, allocations: 0 / 428.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3193, allocations: 0 / 428.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.3198, allocations: 498.2 kB / 428.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3198, allocations: 0 / 428.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.3198, allocations: 8.25 kB / 428.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3198, allocations: 4 kB / 428.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3199, allocations: 11.98 kB / 428.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3199, allocations: 4 kB / 428.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3199, allocations: 0 / 428.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3201, allocations: 296 kB / 429.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.3202, allocations: 85.02 kB / 429.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3202, allocations: 7.984 kB / 429.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.3203, allocations: 8 kB / 429.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3203, allocations: 7.984 kB / 429.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3203, allocations: 8 kB / 429.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.3204, allocations: 95.27 kB / 429.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3204, allocations: 0 / 429.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3207, allocations: 55.83 kB / 429.5 MB, free: 12.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (addReal.pkgOut[1].trigger,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,uDPSend.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0004392/0.3211, allocations: 241.4 kB / 429.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3214, allocations: 118.8 kB / 429.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3214, allocations: 0 / 429.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3215, allocations: 60.34 kB / 429.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3218, allocations: 25.36 kB / 429.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.3225, allocations: 396.6 kB / 430.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.3227, allocations: 0.716 MB / 431 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.3228, allocations: 19.44 kB / 431 MB, free: 10.66 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3228, allocations: 0 / 431 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Templates: time 0.003973/0.3267, allocations: 2.368 MB / 433.4 MB, free: 8.301 MB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTestCalcHelperMain.o] Error 1