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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 173.9 kB / 23.25 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9187/0.9187, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03555/0.03555, allocations: 9.148 MB / 269.1 MB, free: 4.457 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 397.1 MB, free: 60 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.654e-05, allocations: 6.219 kB / 397.1 MB, free: 52 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005407/0.005433, allocations: 3.759 MB / 400.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.007928, allocations: 1.206 MB / 402 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.008457, allocations: 27.75 kB / 402.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.009051, allocations: 150.5 kB / 402.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.009493, allocations: 91.05 kB / 402.3 MB, free: 10.79 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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.0016/0.01109, allocations: 470.5 kB / 402.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.0123, allocations: 0.7605 MB / 403.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.01288, allocations: 244.2 kB / 403.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.01374, allocations: 0.5146 MB / 404.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.0144, allocations: 331 kB / 404.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.01463, allocations: 88 kB / 404.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.0151, allocations: 207.7 kB / 404.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.01538, allocations: 287.2 kB / 405.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.01571, allocations: 259.2 kB / 405.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.0172, allocations: 1.152 MB / 406.6 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.0172, allocations: 0 / 406.6 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.0172, allocations: 0 / 406.6 MB, free: 6.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.01724, allocations: 0 / 406.6 MB, free: 6.488 MB / 330.7 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.003013/0.02025, allocations: 1.661 MB / 408.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.02031, allocations: 12.03 kB / 408.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.02043, allocations: 122.8 kB / 408.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.02059, allocations: 88.42 kB / 408.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.02105, allocations: 397 kB / 408.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.0211, allocations: 58.36 kB / 408.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.02116, allocations: 76.3 kB / 409 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.02213, allocations: 0.792 MB / 409.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.02215, allocations: 4.125 kB / 409.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.02219, allocations: 32.36 kB / 409.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.02221, allocations: 20.12 kB / 409.8 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.02293, allocations: 454.1 kB / 410.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.02569, allocations: 1.894 MB / 412.1 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.02659, allocations: 485.4 kB / 412.6 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1603/0.1869, allocations: 232.9 kB / 412.8 MB, free: 27.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.187, allocations: 13.38 kB / 412.9 MB, free: 27.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.1875, allocations: 346 kB / 413.2 MB, free: 27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.385e-06/0.1875, allocations: 1.438 kB / 413.2 MB, free: 27 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001152/0.1886, allocations: 0.872 MB / 414.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1887, allocations: 197.8 kB / 414.3 MB, free: 26.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.189, allocations: 351.4 kB / 414.6 MB, free: 26.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.189, allocations: 57.23 kB / 414.7 MB, free: 26.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1892, allocations: 335.7 kB / 415 MB, free: 26.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.1893, allocations: 163.2 kB / 415.2 MB, free: 26.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1895, allocations: 182 kB / 415.3 MB, free: 26.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.1895, allocations: 364.6 kB / 415.7 MB, free: 25.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1898, allocations: 179.9 kB / 415.9 MB, free: 25.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1901, allocations: 0.512 MB / 416.4 MB, free: 25.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.1907, allocations: 0.7052 MB / 417.1 MB, free: 24.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.1907, allocations: 6.297 kB / 417.1 MB, free: 24.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008015/0.1915, allocations: 0.7086 MB / 417.8 MB, free: 24.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1915, allocations: 13.92 kB / 417.8 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.1915, allocations: 10.78 kB / 417.8 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1916, allocations: 13.47 kB / 417.8 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1918, allocations: 127 kB / 418 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.1918, allocations: 21.55 kB / 418 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.192, allocations: 60.92 kB / 418 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1921, allocations: 35.48 kB / 418.1 MB, free: 24.32 MB / 330.7 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.0003241/0.1924, allocations: 317.5 kB / 418.4 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1925, allocations: 52.72 kB / 418.4 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.1925, allocations: 34.48 kB / 418.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1925, allocations: 6 kB / 418.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.1925, allocations: 6.656 kB / 418.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1925, allocations: 7.938 kB / 418.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1939, allocations: 1.354 MB / 419.8 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.1939, allocations: 2.906 kB / 419.8 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.194, allocations: 16.86 kB / 419.9 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.194, allocations: 2.906 kB / 419.9 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.194, allocations: 21.48 kB / 419.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.194, allocations: 3.781 kB / 419.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.194, allocations: 2.25 kB / 419.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.1949, allocations: 0.8967 MB / 420.8 MB, free: 22.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1949, allocations: 46.69 kB / 420.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.195, allocations: 14.28 kB / 420.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1951, allocations: 14.97 kB / 420.9 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1951, allocations: 37.77 kB / 420.9 MB, free: 22.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.1952, allocations: 25.38 kB / 420.9 MB, free: 22.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1953, allocations: 196.5 kB / 421.1 MB, free: 22.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1953, allocations: 0 / 421.1 MB, free: 22.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.1959, allocations: 230.8 kB / 421.3 MB, free: 22.7 MB / 330.7 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.001464/0.1973, allocations: 1.703 MB / 423 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007152/0.198, allocations: 0.5293 MB / 423.6 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.198, allocations: 1.969 kB / 423.6 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.1983, allocations: 249.4 kB / 423.8 MB, free: 21.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.1988, allocations: 102.1 kB / 423.9 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.2037, allocations: 4.867 MB / 428.8 MB, free: 18.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2041, allocations: 332.9 kB / 429.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.2043, allocations: 63.53 kB / 429.2 MB, free: 18.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2044, allocations: 198.3 kB / 429.4 MB, free: 17.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2044, allocations: 0 / 429.4 MB, free: 17.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.2361, allocations: 13.39 MB / 442.7 MB, free: 9.281 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '243.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/243.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/243.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: rt linked by target \"243\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/243.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.1328728133812547] Failed to read output from testmodel.py, exit status != 0: 0.464978682808578 0.47364032100000003 0.45333841300000005 Calling exit ...