Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.7 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 186.1 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 249.2 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0615/0.0615, allocations: 12.16 MB / 316.2 MB, free: 284 kB / 238.1 MB " [Timeout remaining time 180] 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.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 440.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 55.17 MB / 495.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.003985/0.2969, allocations: 2.93 MB / 498.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2983, allocations: 0.9097 MB / 499.7 MB, free: 20.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2985, allocations: 12.47 kB / 499.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2987, allocations: 75.55 kB / 499.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2989, allocations: 64.55 kB / 499.9 MB, free: 20.85 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.2996, allocations: 284.5 kB / 0.4884 GB, free: 20.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.3, allocations: 412.2 kB / 0.4888 GB, free: 20.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.3002, allocations: 175.9 kB / 0.489 GB, free: 20.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3004, allocations: 196.3 kB / 0.4892 GB, free: 20.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.3006, allocations: 247.6 kB / 0.4894 GB, free: 19.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.3007, allocations: 45.38 kB / 0.4894 GB, free: 19.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.301, allocations: 198 kB / 0.4896 GB, free: 19.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.3012, allocations: 154.7 kB / 0.4898 GB, free: 19.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3013, allocations: 214.7 kB / 0.49 GB, free: 19.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.302, allocations: 0.6819 MB / 0.4906 GB, free: 19.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.302, allocations: 3.938 kB / 0.4907 GB, free: 19.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.302, allocations: 4 kB / 0.4907 GB, free: 19.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.302, allocations: 1.062 kB / 0.4907 GB, free: 19.12 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg lcmSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg lcmReceive.pkgOut.pkg = getReal.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001375/0.3033, allocations: 1.166 MB / 0.4918 GB, free: 18.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/0.3034, allocations: 9.344 kB / 0.4918 GB, free: 18.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.834e-05/0.3035, allocations: 55.47 kB / 0.4919 GB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3038, allocations: 333.4 kB / 0.4922 GB, free: 17.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.3038, allocations: 30.56 kB / 0.4922 GB, free: 17.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.3039, allocations: 40.11 kB / 0.4922 GB, free: 17.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.3046, allocations: 489.4 kB / 0.4927 GB, free: 17.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3046, allocations: 1.75 kB / 0.4927 GB, free: 17.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3047, allocations: 20.48 kB / 0.4927 GB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3047, allocations: 9.438 kB / 0.4927 GB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.3051, allocations: 268.9 kB / 0.493 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3064, allocations: 1.353 MB / 0.4943 GB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.307, allocations: 277.5 kB / 0.4946 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3071, allocations: 137.8 kB / 0.4947 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.3072, allocations: 15.98 kB / 0.4947 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.3075, allocations: 250 kB / 0.495 GB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.3075, allocations: 0 / 0.495 GB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00102/0.3085, allocations: 0.582 MB / 0.4955 GB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3086, allocations: 166 kB / 0.4957 GB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3088, allocations: 262.3 kB / 0.4959 GB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3089, allocations: 49.69 kB / 0.496 GB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.309, allocations: 210.6 kB / 0.4962 GB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.309, allocations: 105 kB / 0.4963 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.3092, allocations: 116.4 kB / 0.4964 GB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.3092, allocations: 350.6 kB / 0.4967 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.3094, allocations: 123.2 kB / 0.4969 GB, free: 14.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3097, allocations: 312.7 kB / 0.4972 GB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3102, allocations: 482.1 kB / 0.4976 GB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3102, allocations: 5.438 kB / 0.4976 GB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007093/0.3109, allocations: 490.9 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.311, allocations: 8.375 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.311, allocations: 6.5 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.311, allocations: 9.281 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3113, allocations: 78.27 kB / 0.4982 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.3113, allocations: 13.34 kB / 0.4982 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3115, allocations: 39.2 kB / 0.4982 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3116, allocations: 23.61 kB / 0.4983 GB, free: 13.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,lcmSend.dummy,$PRE.lcmSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,lcmReceive.pkgOut.dummy,$PRE.lcmReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,lcmReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,lcmSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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.0002763/0.3118, allocations: 240.6 kB / 0.4985 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.3119, allocations: 30.69 kB / 0.4985 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.3124, allocations: 241.6 kB / 0.4987 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3124, allocations: 3.75 kB / 0.4988 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.3124, allocations: 5.25 kB / 0.4988 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3124, allocations: 5.078 kB / 0.4988 GB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3138, allocations: 1.018 MB / 0.4998 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3138, allocations: 0 / 0.4998 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.3139, allocations: 18.92 kB / 0.4998 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3139, allocations: 2.906 kB / 0.4998 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3139, allocations: 19.89 kB / 0.4998 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3139, allocations: 6.625 kB / 0.4998 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3139, allocations: 1.281 kB / 0.4998 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.3148, allocations: 0.6581 MB / 0.5004 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.3148, allocations: 110.3 kB / 0.5006 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.3149, allocations: 10.64 kB / 0.5006 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3151, allocations: 8.344 kB / 0.5006 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3151, allocations: 24.31 kB / 0.5006 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.3152, allocations: 20.61 kB / 0.5006 GB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3153, allocations: 146 kB / 0.5008 GB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3153, allocations: 0 / 0.5008 GB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.316, allocations: 159.8 kB / 0.5009 GB, free: 11.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.00102/0.317, allocations: 364.6 kB / 0.5013 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.3176, allocations: 347.4 kB / 0.5016 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3176, allocations: 0 / 0.5016 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3179, allocations: 150.3 kB / 0.5017 GB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.3185, allocations: 94.5 kB / 0.5018 GB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3198, allocations: 0.7284 MB / 0.5025 GB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3201, allocations: 0.8144 MB / 0.5033 GB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.3202, allocations: 30.64 kB / 0.5034 GB, free: 9.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3202, allocations: 0 / 0.5034 GB, free: 9.5 MB / 366.1 MB Notification: Performance of Templates: time 0.007998/0.3282, allocations: 6.198 MB / 0.5094 GB, free: 4.805 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile clang++ -std=c++17 -fopenmp=libomp -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_2/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_2/OpenModelica/OMCompiler/build/include/omc/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.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDLCM.h:35:22: error: no matching function for call to 'MDD_SerialPackagerSetDataWithErrorReturn' int rc = MDD_SerialPackagerSetDataWithErrorReturn(lcm->pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:177:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *const' to 'const char *' for 2nd argument int MDD_SerialPackagerSetDataWithErrorReturn(void* p_package, const char * data, int size) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:470:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:491:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:512:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ 5 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.290945173008367] Failed to read output from testmodel.py, exit status != 0: 0.3360187530051917 0.34751146600000005 0.042710684000000006 Calling exit ...