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.002229/0.002229, 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.002553/0.002553, 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 1.069/1.069, allocations: 177.1 MB / 203.6 MB, free: 5.773 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.07014/0.07014, allocations: 9.141 MB / 269.1 MB, free: 4.504 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.666e-06/3.666e-06, allocations: 4 kB / 397.8 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.441e-05, allocations: 6.219 kB / 397.9 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.00407/0.004094, allocations: 3.762 MB / 401.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.005652, allocations: 1.21 MB / 402.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.005838, allocations: 23.75 kB / 402.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.006183, allocations: 146.5 kB / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.006469, allocations: 95.05 kB / 403.1 MB, free: 11.21 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.0007331/0.007202, allocations: 462.5 kB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.007896, allocations: 0.7645 MB / 404.3 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.008342, allocations: 244.2 kB / 404.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.009053, allocations: 0.5068 MB / 405 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.009495, allocations: 335 kB / 405.4 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.009626, allocations: 88 kB / 405.5 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.009934, allocations: 211.7 kB / 405.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.01019, allocations: 291.1 kB / 405.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.01044, allocations: 251.3 kB / 406.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.01164, allocations: 1.156 MB / 407.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01164, allocations: 3.938 kB / 407.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01164, allocations: 0 / 407.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.01166, allocations: 0 / 407.4 MB, free: 6.902 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.002849/0.01451, allocations: 1.646 MB / 409 MB, free: 5.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.01456, allocations: 12.03 kB / 409 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.0147, allocations: 122.8 kB / 409.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.01486, allocations: 92.36 kB / 409.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.01546, allocations: 397 kB / 409.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.01552, allocations: 58.36 kB / 409.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.01564, allocations: 80.3 kB / 409.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009223/0.01656, allocations: 0.7804 MB / 410.5 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01658, allocations: 8.109 kB / 410.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.01663, allocations: 28.38 kB / 410.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.01664, allocations: 28.11 kB / 410.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.01718, allocations: 450.1 kB / 411 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.019, allocations: 1.905 MB / 412.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.01956, allocations: 493.1 kB / 413.4 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.01981, allocations: 228.4 kB / 413.6 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.01985, allocations: 11.88 kB / 413.6 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.02023, allocations: 351.5 kB / 414 MB, free: 15.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.064e-06/0.02023, allocations: 0 / 414 MB, free: 15.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.0011/0.02133, allocations: 0.8696 MB / 414.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.02144, allocations: 194.2 kB / 415.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.02174, allocations: 364.5 kB / 415.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.02211, allocations: 57.69 kB / 415.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.02227, allocations: 329 kB / 415.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.02236, allocations: 166.8 kB / 415.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.02252, allocations: 174.6 kB / 416.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.02263, allocations: 366.8 kB / 416.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.02284, allocations: 173.9 kB / 416.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.02324, allocations: 0.5169 MB / 417.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.02387, allocations: 0.7072 MB / 417.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.02388, allocations: 4 kB / 417.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007235/0.0246, allocations: 0.7157 MB / 418.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.02462, allocations: 8 kB / 418.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.02464, allocations: 12 kB / 418.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.02466, allocations: 12 kB / 418.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.0249, allocations: 115.8 kB / 418.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.02492, allocations: 23.92 kB / 418.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.02507, allocations: 67.45 kB / 418.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.0251, allocations: 40.44 kB / 418.9 MB, free: 10.7 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.0002567/0.02536, allocations: 318.2 kB / 419.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.02541, allocations: 47.72 kB / 419.2 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.02547, allocations: 35.88 kB / 419.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.02548, allocations: 12 kB / 419.3 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.02549, allocations: 0 / 419.3 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.0255, allocations: 15.86 kB / 419.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.02674, allocations: 1.34 MB / 420.6 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.02675, allocations: 4 kB / 420.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.02678, allocations: 19.92 kB / 420.6 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.02679, allocations: 0 / 420.6 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.02681, allocations: 15.98 kB / 420.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02681, allocations: 4 kB / 420.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02682, allocations: 0 / 420.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.0277, allocations: 0.9031 MB / 421.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.02774, allocations: 55.59 kB / 421.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.02778, allocations: 20.05 kB / 421.6 MB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.02788, allocations: 11.98 kB / 421.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.02793, allocations: 31.89 kB / 421.7 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.02796, allocations: 27.98 kB / 421.7 MB, free: 7.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.02809, allocations: 199.1 kB / 421.9 MB, free: 7.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02809, allocations: 0 / 421.9 MB, free: 7.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.02856, allocations: 219.2 kB / 422.1 MB, free: 7.344 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.001958/0.03052, allocations: 1.709 MB / 423.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.03113, allocations: 0.5405 MB / 424.4 MB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.03113, allocations: 0 / 424.4 MB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.03138, allocations: 235.2 kB / 424.6 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.03181, allocations: 98.89 kB / 424.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.03644, allocations: 4.865 MB / 429.6 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.03666, allocations: 333.1 kB / 429.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.03677, allocations: 68.52 kB / 430 MB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.03693, allocations: 204.4 kB / 430.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03693, allocations: 0 / 430.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08796/0.1249, allocations: 13.47 MB / 443.6 MB, free: 1.629 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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.1s) 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 659] [Calling sys.exit(0), Time elapsed: 2.629904232919216]