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.001735/0.001735, allocations: 110.3 kB / 17.17 MB, free: 5.91 MB / 14.72 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.002352/0.002352, allocations: 204 kB / 20.13 MB, free: 2.957 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.06559/0.06559, allocations: 12.22 MB / 321.8 MB, free: 13.36 MB / 254.1 MB " [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 0.001903/0.001903, allocations: 66.81 kB / 448.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09511, allocations: 56.36 MB / 0.4927 GB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005176/0.1003, allocations: 3.85 MB / 0.4964 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1025, allocations: 1.242 MB / 0.4976 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.1027, allocations: 23.75 kB / 0.4976 GB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.1031, allocations: 150.6 kB / 0.4978 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1034, allocations: 95.05 kB / 0.4979 GB, free: 12.29 MB / 366.1 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.001011/0.1044, allocations: 454.9 kB / 0.4983 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.1051, allocations: 0.7488 MB / 0.499 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.1056, allocations: 312 kB / 0.4993 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.106, allocations: 366.8 kB / 0.4997 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.1064, allocations: 446 kB / 0.5001 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1066, allocations: 92 kB / 0.5002 GB, free: 9.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.1069, allocations: 203.9 kB / 0.5004 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.1072, allocations: 295.2 kB / 0.5007 GB, free: 9.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.1075, allocations: 393.9 kB / 0.5011 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1087, allocations: 1.116 MB / 0.5021 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1087, allocations: 0 / 0.5021 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1087, allocations: 0 / 0.5021 GB, free: 7.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.1087, allocations: 4 kB / 0.5022 GB, free: 7.879 MB / 366.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.002545/0.1113, allocations: 1.757 MB / 0.5039 GB, free: 5.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1113, allocations: 8.031 kB / 0.5039 GB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.1114, allocations: 122.8 kB / 0.504 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1116, allocations: 92.34 kB / 0.5041 GB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.1122, allocations: 462.9 kB / 0.5045 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1122, allocations: 58.36 kB / 0.5046 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1124, allocations: 72.36 kB / 0.5046 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1137, allocations: 0.7959 MB / 0.5054 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1137, allocations: 3.938 kB / 0.5054 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.1138, allocations: 31.98 kB / 0.5055 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1138, allocations: 20 kB / 0.5055 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.1146, allocations: 456.4 kB / 0.5059 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1175, allocations: 2.112 MB / 0.508 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.1183, allocations: 493.4 kB / 0.5084 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.1187, allocations: 232.4 kB / 0.5087 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.1187, allocations: 8 kB / 0.5087 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.1193, allocations: 346.4 kB / 0.509 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.1193, allocations: 0 / 0.509 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001718/0.121, allocations: 0.8896 MB / 0.5099 GB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/0.1212, allocations: 198.1 kB / 0.5101 GB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1216, allocations: 348.4 kB / 0.5104 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.1217, allocations: 53.7 kB / 0.5104 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.122, allocations: 329 kB / 0.5108 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1221, allocations: 178.7 kB / 0.5109 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.1224, allocations: 174.6 kB / 0.5111 GB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1226, allocations: 366.8 kB / 0.5114 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1229, allocations: 173.9 kB / 0.5116 GB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.1236, allocations: 477.9 kB / 0.5121 GB, free: 13.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.1246, allocations: 0.7032 MB / 0.5128 GB, free: 12.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1246, allocations: 0 / 0.5128 GB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001206/0.1258, allocations: 0.7122 MB / 0.5135 GB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.1258, allocations: 9.875 kB / 0.5135 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.1259, allocations: 12 kB / 0.5135 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.1259, allocations: 15.94 kB / 0.5135 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.1263, allocations: 115.7 kB / 0.5136 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.1263, allocations: 23.92 kB / 0.5136 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1266, allocations: 71.45 kB / 0.5137 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.1267, allocations: 39.98 kB / 0.5137 GB, free: 11.32 MB / 382.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.0004831/0.1272, allocations: 310.4 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1273, allocations: 47.7 kB / 0.5141 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.1274, allocations: 43.86 kB / 0.5141 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.1274, allocations: 7.938 kB / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1274, allocations: 4 kB / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1274, allocations: 4 kB / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.1295, allocations: 1.435 MB / 0.5155 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.1295, allocations: 7.938 kB / 0.5155 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.1296, allocations: 19.98 kB / 0.5156 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1296, allocations: 4 kB / 0.5156 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.1296, allocations: 15.98 kB / 0.5156 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1296, allocations: 4 kB / 0.5156 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1296, allocations: 7.875 kB / 0.5156 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1309, allocations: 0.8985 MB / 0.5165 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1311, allocations: 124.7 kB / 0.5166 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.1311, allocations: 11.98 kB / 0.5166 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1313, allocations: 15.98 kB / 0.5166 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.1314, allocations: 35.84 kB / 0.5166 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.1314, allocations: 27.97 kB / 0.5167 GB, free: 8.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1317, allocations: 195.1 kB / 0.5169 GB, free: 7.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1317, allocations: 0 / 0.5169 GB, free: 7.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008354/0.1325, allocations: 227.2 kB / 0.5171 GB, free: 7.77 MB / 382.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.002576/0.1351, allocations: 1.696 MB / 0.5187 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1362, allocations: 0.5294 MB / 0.5192 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1362, allocations: 0 / 0.5192 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.1366, allocations: 236.8 kB / 0.5195 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.1373, allocations: 105.5 kB / 0.5196 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.1458, allocations: 4.879 MB / 0.5243 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.1465, allocations: 0.922 MB / 0.5252 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.1468, allocations: 64.34 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.1471, allocations: 206.9 kB / 0.5255 GB, free: 14.77 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1471, allocations: 3.938 kB / 0.5255 GB, free: 14.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.188, allocations: 12.08 MB / 0.5373 GB, free: 2.859 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.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 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 rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN\" in 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 -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1507200339983683] Failed to read output from testmodel.py, exit status != 0: 0.5686284269904718 0.5840710849999999 0.47236394 Calling exit ...