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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 101.3 kB / 16.31 MB, free: 5.879 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.001408/0.001408, allocations: 186.6 kB / 17.24 MB, free: 5.539 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.17 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.05866/0.05866, allocations: 12.03 MB / 303.1 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 366.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2091, allocations: 52.33 MB / 418.9 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004135/0.2132, allocations: 3.811 MB / 422.7 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2148, allocations: 1.225 MB / 423.9 MB, free: 16.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.215, allocations: 19.81 kB / 424 MB, free: 16.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.2154, allocations: 150.6 kB / 424.1 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.2155, allocations: 87.05 kB / 424.2 MB, free: 15.92 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:885:7-893:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.startChipDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.startChip'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:895:7-910:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.readRcvDataDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.readRcvData'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:912:7-928:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.writeObjectDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.writeObject'. [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.2163, allocations: 458 kB / 424.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.2168, allocations: 0.745 MB / 425.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.2172, allocations: 451.7 kB / 425.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2174, allocations: 358.8 kB / 426.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.2177, allocations: 418.1 kB / 426.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.2178, allocations: 88 kB / 426.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.218, allocations: 215.9 kB / 426.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2182, allocations: 287.2 kB / 427.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.2184, allocations: 397.9 kB / 427.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.2191, allocations: 1.065 MB / 428.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2191, allocations: 4 kB / 428.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2191, allocations: 0 / 428.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2191, allocations: 3.938 kB / 428.6 MB, free: 11.46 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.001693/0.2208, allocations: 1.716 MB / 430.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2209, allocations: 8.031 kB / 430.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/0.221, allocations: 118.8 kB / 430.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2211, allocations: 87.92 kB / 430.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2215, allocations: 466.6 kB / 431 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.2216, allocations: 62.36 kB / 431.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.2216, allocations: 68.38 kB / 431.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009495/0.2226, allocations: 0.7881 MB / 431.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2226, allocations: 3.938 kB / 431.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.2227, allocations: 31.98 kB / 431.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2227, allocations: 20 kB / 432 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.2233, allocations: 454 kB / 432.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.2253, allocations: 2.138 MB / 434.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.2259, allocations: 0.513 MB / 435.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.2261, allocations: 256.4 kB / 435.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.2262, allocations: 8 kB / 435.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.2266, allocations: 358.4 kB / 435.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.355e-06/0.2266, allocations: 3.938 kB / 435.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.001209/0.2278, allocations: 0.8746 MB / 436.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2279, allocations: 202.1 kB / 436.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.2282, allocations: 344.1 kB / 437.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.2282, allocations: 57.69 kB / 437.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.2284, allocations: 328.1 kB / 437.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.2284, allocations: 158.1 kB / 437.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2286, allocations: 178.6 kB / 437.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.2287, allocations: 362.8 kB / 438.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2289, allocations: 181.9 kB / 438.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.2293, allocations: 481.5 kB / 438.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.2299, allocations: 0.7032 MB / 439.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.23, allocations: 7.938 kB / 439.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001057/0.231, allocations: 0.7119 MB / 440.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2311, allocations: 12 kB / 440.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.2311, allocations: 8 kB / 440.2 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.2311, allocations: 19.94 kB / 440.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.2315, allocations: 115.8 kB / 440.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.2315, allocations: 15.94 kB / 440.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.2318, allocations: 63.38 kB / 440.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.2319, allocations: 43.98 kB / 440.5 MB, free: 14.88 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.0004004/0.2323, allocations: 315.1 kB / 440.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.2324, allocations: 51.42 kB / 440.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.2325, allocations: 39.81 kB / 440.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.2325, allocations: 11.94 kB / 440.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.2325, allocations: 4 kB / 440.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2325, allocations: 3.984 kB / 440.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.2345, allocations: 1.445 MB / 442.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.2345, allocations: 4 kB / 442.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.2346, allocations: 15.98 kB / 442.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2346, allocations: 0 / 442.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.2346, allocations: 19.97 kB / 442.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2347, allocations: 8 kB / 442.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2347, allocations: 4 kB / 442.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2359, allocations: 0.8961 MB / 443.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.236, allocations: 120.5 kB / 443.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.236, allocations: 15.98 kB / 443.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2362, allocations: 11.98 kB / 443.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.2363, allocations: 31.91 kB / 443.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.2363, allocations: 27.97 kB / 443.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.2365, allocations: 195.1 kB / 443.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2365, allocations: 3.938 kB / 443.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007278/0.2372, allocations: 223.1 kB / 443.9 MB, free: 11.33 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.002105/0.2394, allocations: 1.692 MB / 445.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2404, allocations: 0.5871 MB / 446.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.2404, allocations: 0 / 446.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.2408, allocations: 269.3 kB / 446.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.2415, allocations: 95.3 kB / 446.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.2475, allocations: 4.917 MB / 451.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.2481, allocations: 0.926 MB / 452.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.2483, allocations: 68.27 kB / 452.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.2485, allocations: 203.4 kB / 452.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2485, allocations: 4 kB / 452.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.2812, allocations: 11.78 MB / 464.4 MB, free: 6.621 MB / 334.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && "cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && "cmake" --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/../binaries/linux64 -- Linking /usr/lib/x86_64-linux-gnu/librt.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/context.c.o [ 32%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/division.c.o [ 34%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/list.c.o [ 41%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.c.o [ 67%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_01exo.c.o [ 68%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_02nls.c.o [ 70%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_03lsy.c.o [ 71%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_04set.c.o [ 73%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_05evt.c.o [ 74%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_06inz.c.o [ 76%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_07dly.c.o [ 77%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_08bnd.c.o [ 79%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_09alg.c.o [ 80%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_10asr.c.o [ 82%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_11mix.c.o [ 83%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_12jac.c.o [ 85%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_13opt.c.o [ 86%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_14lnz.c.o [ 88%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_15syn.c.o [ 89%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_16dae.c.o [ 91%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_17inl.c.o [ 92%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_18spd.c.o [ 94%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_FMU.c.o [ 95%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c.o In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /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:146:11: warning: implicit declaration of function 'INIL2_initialize_channel' is invalid in C99 [-Wimplicit-function-declaration] ret = INIL2_initialize_channel(&channel.ulChannelHandle, (char*) channel.sChannelName); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:154:11: warning: implicit declaration of function 'CANL2_reset_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_reset_chip(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:174:19: warning: implicit declaration of function 'CANL2_initialize_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_initialize_chip(mDDSoftingCAN->can, PRESCALER_1, SYNC_JMP_WIDTH_1, TIME_SEG1_1, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:218:11: warning: implicit declaration of function 'CANL2_set_acceptance' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_set_acceptance(mDDSoftingCAN->can, ACCEPT_MASK_1, ACCEPT_CODE_1, ACCEPT_MASK_XTD_1, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:226:11: warning: implicit declaration of function 'CANL2_set_output_control' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_set_output_control(mDDSoftingCAN->can, OUTPUT_CONTROL_1); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:233:11: warning: implicit declaration of function 'CANL2_enable_dyn_obj_buf' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_enable_dyn_obj_buf(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:240:11: warning: implicit declaration of function 'CANL2_initialize_interface' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_initialize_interface(mDDSoftingCAN->can, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:252:5: warning: implicit declaration of function 'INIL2_close_channel' is invalid in C99 [-Wimplicit-function-declaration] INIL2_close_channel(mDDSoftingCAN->can); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:274:11: warning: implicit declaration of function 'CANL2_define_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_define_object(mDDSoftingCAN->can, ident, &objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:306:11: warning: implicit declaration of function 'CANL2_write_object' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_write_object(mDDSoftingCAN->can, objectNumber, dataLength, ^ /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: 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:11: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? byte* rcvBuffer = (byte*) ModelicaAllocateString(8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /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: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:332:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:333:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:340:20: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? memcpy(rcvBuffer, serialPackager->data, 8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:356:42: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? memcpy(serialPackager->data, rcvBuffer, 8); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:365:26: error: use of undeclared identifier 'rcvBuffer' return (const char*) rcvBuffer; ^ /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: use of undeclared identifier 'byte' byte rcvBuffer[8]; ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:381:11: warning: implicit declaration of function 'CANL2_read_rcv_data' is invalid in C99 [-Wimplicit-function-declaration] frc = CANL2_read_rcv_data(mDDSoftingCAN->can, objectNumber, ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:382:31: error: use of undeclared identifier 'rcvBuffer'; did you mean 'logBuffer'? rcvBuffer, &Time); ^~~~~~~~~ logBuffer /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/simulation/solver/../../util/omc_error.h:165:13: note: 'logBuffer' declared here extern char logBuffer[2048]; ^ In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:7: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_includes.h:9: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:404:79: error: use of undeclared identifier 'rcvBuffer' MDD_SerialPackagerSetDataWithErrorReturn(p_package, (const char*) rcvBuffer, 8); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSoftingCAN.h:422:11: warning: implicit declaration of function 'CANL2_start_chip' is invalid in C99 [-Wimplicit-function-declaration] ret = CANL2_start_chip(mDDSoftingCAN->can); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c:465:42: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddInteger(_pkg_ext, (const int*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:68: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ 15 warnings and 16 errors generated. gmake[2]: *** [CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/build.make:958: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN_functions.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2