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.001645/0.001645, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.002049/0.002049, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.511/1.511, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.09912/0.09912, allocations: 12.22 MB / 322.5 MB, free: 13.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 68.14 kB / 448.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09726, allocations: 56.38 MB / 0.4933 GB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005718/0.103, allocations: 3.845 MB / 0.4971 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1056, allocations: 1.238 MB / 0.4983 GB, free: 12.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.1059, allocations: 27.69 kB / 0.4983 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.1064, allocations: 154.6 kB / 0.4985 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1067, allocations: 91.06 kB / 0.4986 GB, free: 12.26 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.001184/0.1078, allocations: 458.9 kB / 0.499 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.1087, allocations: 0.7528 MB / 0.4997 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.1093, allocations: 312 kB / 0.5 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1096, allocations: 370.8 kB / 0.5004 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.1101, allocations: 446 kB / 0.5008 GB, free: 9.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1103, allocations: 88 kB / 0.5009 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1106, allocations: 199.9 kB / 0.5011 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.1109, allocations: 283.2 kB / 0.5014 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.1112, allocations: 397.9 kB / 0.5017 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.1126, allocations: 1.124 MB / 0.5028 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1126, allocations: 0 / 0.5028 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1126, allocations: 4 kB / 0.5028 GB, free: 7.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1126, allocations: 0 / 0.5028 GB, free: 7.844 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.002598/0.1152, allocations: 1.746 MB / 0.5045 GB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1152, allocations: 12.03 kB / 0.5046 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.229e-05/0.1152, allocations: 22.12 kB / 0.5046 GB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.1154, allocations: 126.8 kB / 0.5047 GB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1156, allocations: 84.42 kB / 0.5048 GB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.1162, allocations: 466.9 kB / 0.5052 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.1162, allocations: 58.36 kB / 0.5053 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1163, allocations: 72.36 kB / 0.5054 GB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1177, allocations: 0.7917 MB / 0.5061 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1177, allocations: 0 / 0.5061 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.1178, allocations: 35.98 kB / 0.5062 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.1178, allocations: 20 kB / 0.5062 GB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.1186, allocations: 461.9 kB / 0.5066 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.1215, allocations: 2.119 MB / 0.5087 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.1223, allocations: 493.4 kB / 0.5092 GB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.1227, allocations: 220.4 kB / 0.5094 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.1228, allocations: 4 kB / 0.5094 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.1233, allocations: 354.4 kB / 0.5097 GB, free: 452 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.1233, allocations: 0 / 0.5097 GB, free: 452 kB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001722/0.1251, allocations: 0.8841 MB / 0.5106 GB, free: 15.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.1252, allocations: 202.1 kB / 0.5108 GB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.1257, allocations: 348.4 kB / 0.5111 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.1257, allocations: 57.69 kB / 0.5112 GB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.126, allocations: 329 kB / 0.5115 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1262, allocations: 166.7 kB / 0.5116 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.1264, allocations: 174.6 kB / 0.5118 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1266, allocations: 362.8 kB / 0.5121 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1269, allocations: 181.9 kB / 0.5123 GB, free: 13.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.1275, allocations: 481.9 kB / 0.5128 GB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1285, allocations: 0.6988 MB / 0.5135 GB, free: 12.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1285, allocations: 4 kB / 0.5135 GB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00121/0.1298, allocations: 0.7039 MB / 0.5141 GB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1298, allocations: 8 kB / 0.5142 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.1298, allocations: 12.94 kB / 0.5142 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.1298, allocations: 19.94 kB / 0.5142 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.1302, allocations: 123.8 kB / 0.5143 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.391e-05/0.1303, allocations: 19.94 kB / 0.5143 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1306, allocations: 75.44 kB / 0.5144 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.1307, allocations: 36 kB / 0.5144 GB, free: 11.26 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.0004444/0.1311, allocations: 314.2 kB / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.1312, allocations: 51.7 kB / 0.5148 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.1313, allocations: 39.81 kB / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.1313, allocations: 8 kB / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.1313, allocations: 0 / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1313, allocations: 7.984 kB / 0.5148 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.1334, allocations: 1.431 MB / 0.5162 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.1334, allocations: 7.938 kB / 0.5162 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.1335, allocations: 16 kB / 0.5163 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1335, allocations: 4 kB / 0.5163 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.1336, allocations: 19.97 kB / 0.5163 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1336, allocations: 160 / 0.5163 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1336, allocations: 4 kB / 0.5163 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.1349, allocations: 0.9049 MB / 0.5172 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.135, allocations: 124.7 kB / 0.5173 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.1351, allocations: 15.92 kB / 0.5173 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1352, allocations: 11.98 kB / 0.5173 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.1353, allocations: 35.89 kB / 0.5173 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.1354, allocations: 23.98 kB / 0.5174 GB, free: 8.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1356, allocations: 195.1 kB / 0.5176 GB, free: 7.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 4 kB / 0.5176 GB, free: 7.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008341/0.1364, allocations: 231.2 kB / 0.5178 GB, free: 7.711 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.002601/0.139, allocations: 1.692 MB / 0.5194 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1401, allocations: 0.5295 MB / 0.5199 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1401, allocations: 0 / 0.5199 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.1405, allocations: 237.1 kB / 0.5202 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.1412, allocations: 103.2 kB / 0.5203 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.149, allocations: 4.878 MB / 0.525 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/0.1498, allocations: 0.9261 MB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.1501, allocations: 64.34 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.1503, allocations: 199.4 kB / 0.5262 GB, free: 14.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1503, allocations: 0 / 0.5262 GB, free: 14.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.1865, allocations: 12.13 MB / 0.538 GB, free: 2.777 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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.1957409129827283] Failed to read output from testmodel.py, exit status != 0: 0.5974758969969116 0.6113352360000001 0.49610250100000003 Calling exit ...