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.0008446/0.0008446, 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.0009942/0.0009942, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9068/0.9068, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.03504/0.03504, allocations: 9.139 MB / 269.1 MB, free: 4.48 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 2.375e-06/2.375e-06, allocations: 0 / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.265e-05, allocations: 2.281 kB / 397.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.003863/0.003886, allocations: 3.754 MB / 400.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.005615, allocations: 1.21 MB / 402 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.005854, allocations: 27.69 kB / 402.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.006207, allocations: 150.5 kB / 402.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.0064, allocations: 98.98 kB / 402.3 MB, free: 11.98 MB / 378.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.0007549/0.007155, allocations: 458.5 kB / 402.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.007631, allocations: 0.7606 MB / 403.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.008186, allocations: 248.2 kB / 403.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.00852, allocations: 0.5068 MB / 404.3 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.008792, allocations: 334.9 kB / 404.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.008865, allocations: 88 kB / 404.7 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.009085, allocations: 203.8 kB / 404.9 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.009245, allocations: 291.2 kB / 405.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.009399, allocations: 251.3 kB / 405.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007569/0.01016, allocations: 1.156 MB / 406.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01016, allocations: 4 kB / 406.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01016, allocations: 0 / 406.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01017, allocations: 0 / 406.6 MB, free: 7.684 MB / 378.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.001633/0.0118, allocations: 1.661 MB / 408.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01184, allocations: 8.031 kB / 408.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.696e-05/0.01193, allocations: 126.7 kB / 408.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01203, allocations: 92.36 kB / 408.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.0124, allocations: 393.1 kB / 408.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.01244, allocations: 54.36 kB / 408.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.0125, allocations: 76.36 kB / 409 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.01331, allocations: 0.7881 MB / 409.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01332, allocations: 8.172 kB / 409.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.01336, allocations: 32.36 kB / 409.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01338, allocations: 20.12 kB / 409.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.01389, allocations: 458.1 kB / 410.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.01578, allocations: 1.901 MB / 412.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.01629, allocations: 493.2 kB / 412.6 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.01651, allocations: 232.3 kB / 412.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.01655, allocations: 11.94 kB / 412.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.01689, allocations: 347.5 kB / 413.2 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.364e-06/0.01689, allocations: 0 / 413.2 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001082/0.01797, allocations: 0.8696 MB / 414.1 MB, free: 15.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.01807, allocations: 194.2 kB / 414.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.01834, allocations: 368.4 kB / 414.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.01838, allocations: 57.69 kB / 414.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.01854, allocations: 329 kB / 415 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.01862, allocations: 158.8 kB / 415.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.01876, allocations: 178.6 kB / 415.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01886, allocations: 370.8 kB / 415.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.01906, allocations: 173.9 kB / 415.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.0194, allocations: 0.513 MB / 416.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.02002, allocations: 0.7032 MB / 417.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.02002, allocations: 7.984 kB / 417.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001003/0.02103, allocations: 0.7081 MB / 417.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.02105, allocations: 11.98 kB / 417.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.02108, allocations: 12 kB / 417.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.0211, allocations: 16.3 kB / 417.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.02133, allocations: 115.8 kB / 418 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.02135, allocations: 23.92 kB / 418 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.02152, allocations: 71.52 kB / 418.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.02155, allocations: 36.41 kB / 418.1 MB, free: 11.47 MB / 394.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.0003211/0.02187, allocations: 322 kB / 418.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.02193, allocations: 47.66 kB / 418.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.02199, allocations: 35.88 kB / 418.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.022, allocations: 4 kB / 418.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.02201, allocations: 8 kB / 418.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.02202, allocations: 7.922 kB / 418.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.02332, allocations: 1.347 MB / 419.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.02332, allocations: 0 / 419.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.02337, allocations: 19.92 kB / 419.9 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.02338, allocations: 4 kB / 419.9 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.0234, allocations: 15.98 kB / 419.9 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.0234, allocations: 0 / 419.9 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02341, allocations: 4 kB / 419.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.02413, allocations: 0.8953 MB / 420.8 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.02417, allocations: 55.52 kB / 420.8 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.0242, allocations: 15.98 kB / 420.9 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.02429, allocations: 11.98 kB / 420.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.02434, allocations: 35.89 kB / 420.9 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.02437, allocations: 23.98 kB / 420.9 MB, free: 8.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.02449, allocations: 195.1 kB / 421.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02449, allocations: 0 / 421.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.02497, allocations: 227.2 kB / 421.3 MB, free: 8.117 MB / 394.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.001532/0.02651, allocations: 1.705 MB / 423 MB, free: 6.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.02713, allocations: 0.5406 MB / 423.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02713, allocations: 0 / 423.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.02737, allocations: 235.6 kB / 423.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.0278, allocations: 94.64 kB / 423.9 MB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.03201, allocations: 4.885 MB / 428.8 MB, free: 336 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.03224, allocations: 333.1 kB / 429.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.03237, allocations: 60.36 kB / 429.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.03253, allocations: 200.4 kB / 429.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03253, allocations: 0 / 429.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.05958, allocations: 13.38 MB / 442.8 MB, free: 2.488 MB / 410.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.0263560321182013] Failed to read output from testmodel.py, exit status != 0: 0.262916412204504 0.409375234 0.39776769199999995 Calling exit ...