Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.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.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104 kB / 16.56 MB, free: 6.719 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.00108/0.00108, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.313/1.313, allocations: 222.9 MB / 241.2 MB, free: 15.48 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.05439/0.05439, allocations: 12.02 MB / 303.3 MB, free: 3.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 366.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1925, allocations: 52.32 MB / 418.8 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004288/0.1969, allocations: 3.796 MB / 422.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1985, allocations: 1.203 MB / 423.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1987, allocations: 19.81 kB / 423.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.199, allocations: 115.2 kB / 423.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1992, allocations: 66.61 kB / 423.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.1999, allocations: 403.2 kB / 424.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.2004, allocations: 0.706 MB / 425 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.2008, allocations: 439.3 kB / 425.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.201, allocations: 326.7 kB / 425.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.2013, allocations: 406.2 kB / 426.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.2014, allocations: 64 kB / 426.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.2016, allocations: 171.9 kB / 426.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2018, allocations: 267.2 kB / 426.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.202, allocations: 385.9 kB / 427.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.2025, allocations: 0.8166 MB / 427.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2025, allocations: 0 / 427.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2025, allocations: 0 / 427.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.2026, allocations: 0 / 427.9 MB, free: 12.16 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt3.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg softingCANConfig.softingCANBus[2].softingCAN = softingCANConfig.softingCAN softingCANConfig.softingCANBus[1].softingCAN = softingCANConfig.softingCAN rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN txMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[1].softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = packInt1.pkgIn.pkg rxMessage.pkgOut.pkg = unpackInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt7.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00175/0.2043, allocations: 1.708 MB / 429.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2044, allocations: 8.031 kB / 429.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2045, allocations: 91.84 kB / 429.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.2049, allocations: 454.8 kB / 430.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.205, allocations: 62.36 kB / 430.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.205, allocations: 76.36 kB / 430.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/0.206, allocations: 0.7842 MB / 431 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2061, allocations: 4.172 kB / 431.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.2061, allocations: 35.92 kB / 431.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2061, allocations: 16 kB / 431.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.2068, allocations: 464.4 kB / 431.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2087, allocations: 2.131 MB / 433.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.2093, allocations: 0.5207 MB / 434.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.2096, allocations: 256.4 kB / 434.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.2097, allocations: 12.05 kB / 434.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.2101, allocations: 350.4 kB / 434.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.454e-06/0.2101, allocations: 0 / 434.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.001231/0.2113, allocations: 0.8834 MB / 435.7 MB, free: 3.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.2114, allocations: 194.1 kB / 435.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.2117, allocations: 352 kB / 436.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.2117, allocations: 57.69 kB / 436.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2119, allocations: 324.2 kB / 436.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.212, allocations: 158 kB / 436.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.2121, allocations: 174.6 kB / 436.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.2122, allocations: 362.8 kB / 437.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.2125, allocations: 177.9 kB / 437.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.2128, allocations: 481.8 kB / 437.9 MB, free: 1.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.2134, allocations: 0.7071 MB / 438.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2134, allocations: 4 kB / 438.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008703/0.2143, allocations: 0.7154 MB / 439.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2144, allocations: 8 kB / 439.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.2144, allocations: 8 kB / 439.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.2144, allocations: 16 kB / 439.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.2148, allocations: 123.6 kB / 439.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.2148, allocations: 20.5 kB / 439.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.2151, allocations: 71.3 kB / 439.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.2152, allocations: 40 kB / 439.6 MB, free: 15.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 (unpackInt7.dummy,$PRE.unpackInt7.dummy,unpackInt7.y,$PRE.unpackInt7.y,unpackInt6.dummy,$PRE.unpackInt6.dummy,unpackInt6.y,$PRE.unpackInt6.y,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt5.dummy,$PRE.unpackInt5.dummy,unpackInt5.y,$PRE.unpackInt5.y,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt4.dummy,$PRE.unpackInt4.dummy,unpackInt4.y,$PRE.unpackInt4.y,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt3.dummy,$PRE.unpackInt3.dummy,unpackInt3.y,$PRE.unpackInt3.y,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt2.dummy,$PRE.unpackInt2.dummy,unpackInt2.y,$PRE.unpackInt2.y,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,rxMessage.objectNumber,$PRE.rxMessage.objectNumber,rxMessage.pkgOut.dummy,$PRE.rxMessage.pkgOut.dummy,unpackInt6.pkgOut[1].trigger,$whenCondition2,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,txMessage.objectNumber,$PRE.txMessage.objectNumber,txMessage.dummy,$PRE.txMessage.dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,rxMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.txMessage.softingCANBus.dummy,packInt1.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,$whenCondition1,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,packager.bufferSize,packager.backwardPropagatedBufferSize,txMessage.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003748/0.2156, allocations: 302.9 kB / 439.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.2156, allocations: 51.42 kB / 440 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.2157, allocations: 39.88 kB / 440 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2157, allocations: 11.94 kB / 440 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2157, allocations: 0 / 440 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.2158, allocations: 7.984 kB / 440 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.2178, allocations: 1.442 MB / 441.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.2178, allocations: 3.938 kB / 441.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.2179, allocations: 23.94 kB / 441.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.2179, allocations: 4 kB / 441.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.218, allocations: 19.97 kB / 441.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.218, allocations: 128 / 441.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.218, allocations: 11.94 kB / 441.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2191, allocations: 0.8923 MB / 442.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.2192, allocations: 128.4 kB / 442.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.2193, allocations: 11.98 kB / 442.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2194, allocations: 11.98 kB / 442.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.2195, allocations: 39.83 kB / 442.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.2196, allocations: 23.98 kB / 442.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.2198, allocations: 199.1 kB / 442.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2198, allocations: 0 / 442.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007174/0.2206, allocations: 231.1 kB / 443.1 MB, free: 12.15 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 55 (packInt1.pkgOut[1].trigger,$whenCondition1,addInteger.pkgOut[1].dummy,addInteger.u[1],packInt.pkgOut[1].dummy,packInt.pkgOut[1].backwardTrigger,packInt1.pkgOut[1].dummy,txMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.dummy,packager.pkgOut.dummy,integerExpression2.y,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgOut[1].trigger,$whenCondition2,rxMessage.softingCANBus.dummy,rxMessage.pkgOut.dummy,rxMessage.objectNumber,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,unpackInt2.pkgOut[1].dummy,unpackInt2.y,unpackInt2.dummy,unpackInt3.pkgOut[1].dummy,unpackInt3.y,unpackInt3.dummy,unpackInt4.pkgOut[1].dummy,unpackInt4.y,unpackInt4.dummy,unpackInt5.pkgOut[1].dummy,unpackInt5.y,unpackInt5.dummy,unpackInt6.pkgOut[1].dummy,unpackInt6.y,unpackInt6.dummy,unpackInt7.y,unpackInt7.dummy) * Number of discrete states: 4 (rxMessage.objectNumber,rxMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.softingCANBus.dummy) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * 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.0007815/0.2214, allocations: 357 kB / 443.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008858/0.2223, allocations: 0.5447 MB / 444 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2223, allocations: 192 / 444 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.2227, allocations: 269.5 kB / 444.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.2233, allocations: 95.38 kB / 444.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.2256, allocations: 1.402 MB / 445.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.2262, allocations: 0.9106 MB / 446.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.2262, allocations: 35.44 kB / 446.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2262, allocations: 0 / 446.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of Templates: time 0.01761/0.2439, allocations: 8.523 MB / 455.2 MB, free: 44 kB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.makefile clang++ -std=c++14 -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/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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.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_SoftingCANCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:49:3: error: "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" # error "Modelica_DeviceDrivers: SoftingCAN driver only supported on WINDOWS!" ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:120:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE can; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:129:5: error: unknown type name 'CAN_HANDLE' CAN_HANDLE ulChannelHandle; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:328:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:5: error: unknown type name 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:24: error: use of undeclared identifier 'byte' byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:329:29: error: expected expression byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:377:15: error: use of undeclared identifier 'CANL2_RA_NO_DATA' int frc = CANL2_RA_NO_DATA; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:378:5: error: unknown type name 'byte' byte rcvBuffer[8]; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANFunctions.cpp:575: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) { ^ 11 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCANCalcHelperMain.o] Error 1