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.00148/0.00148, allocations: 97.91 kB / 20.52 MB, free: 1.344 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.001462/0.001462, allocations: 214.6 kB / 23.81 MB, free: 4.508 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.521/1.521, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.06407/0.06407, allocations: 12.23 MB / 326.2 MB, free: 7.07 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.002125/0.002125, allocations: 75.89 kB / 454.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1247, allocations: 56.39 MB / 0.4985 GB, free: 368 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.005966/0.1306, allocations: 3.73 MB / 0.5022 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.133, allocations: 1.203 MB / 0.5033 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.1333, allocations: 27.69 kB / 0.5034 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.1337, allocations: 150.6 kB / 0.5035 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1339, allocations: 91.09 kB / 0.5036 GB, free: 11.14 MB / 382.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.00126/0.1352, allocations: 466.8 kB / 0.504 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.136, allocations: 0.7605 MB / 0.5048 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.1365, allocations: 248.5 kB / 0.505 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.1369, allocations: 362.8 kB / 0.5054 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.1374, allocations: 446 kB / 0.5058 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.1376, allocations: 91.94 kB / 0.5059 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.1379, allocations: 203.9 kB / 0.5061 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.1382, allocations: 283.2 kB / 0.5063 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.1386, allocations: 314.4 kB / 0.5066 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.1401, allocations: 1.128 MB / 0.5077 GB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1401, allocations: 0 / 0.5077 GB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1401, allocations: 4 kB / 0.5078 GB, free: 6.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1401, allocations: 0 / 0.5078 GB, free: 6.848 MB / 382.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.002768/0.1429, allocations: 1.671 MB / 0.5094 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1429, allocations: 8.031 kB / 0.5094 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.073e-05/0.143, allocations: 22.19 kB / 0.5094 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.1431, allocations: 122.8 kB / 0.5095 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.1433, allocations: 88.41 kB / 0.5096 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.1439, allocations: 393.7 kB / 0.51 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.144, allocations: 62.36 kB / 0.51 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1441, allocations: 84.3 kB / 0.5101 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1455, allocations: 0.784 MB / 0.5109 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1456, allocations: 0 / 0.5109 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.1456, allocations: 31.98 kB / 0.5109 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.1456, allocations: 20 kB / 0.5109 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.1465, allocations: 463 kB / 0.5114 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.1495, allocations: 1.905 MB / 0.5132 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.1504, allocations: 489.3 kB / 0.5137 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.1508, allocations: 244.3 kB / 0.5139 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.1508, allocations: 4 kB / 0.5139 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2758/0.4266, allocations: 348.9 kB / 0.5143 GB, free: 21.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 4.087e-06/0.4266, allocations: 0.5469 kB / 0.5143 GB, free: 21.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001578/0.4282, allocations: 0.8658 MB / 0.5151 GB, free: 21.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.4282, allocations: 204.1 kB / 0.5153 GB, free: 20.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.4286, allocations: 344.2 kB / 0.5157 GB, free: 20.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.4287, allocations: 53.16 kB / 0.5157 GB, free: 20.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4289, allocations: 338.4 kB / 0.516 GB, free: 20.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.429, allocations: 166.1 kB / 0.5162 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.4292, allocations: 175.8 kB / 0.5163 GB, free: 20.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.4293, allocations: 368.2 kB / 0.5167 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4295, allocations: 176.6 kB / 0.5169 GB, free: 20.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.43, allocations: 0.5145 MB / 0.5174 GB, free: 19.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.4307, allocations: 0.7039 MB / 0.5181 GB, free: 19.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4307, allocations: 5.125 kB / 0.5181 GB, free: 19.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001/0.4317, allocations: 0.7167 MB / 0.5188 GB, free: 19.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4317, allocations: 7.562 kB / 0.5188 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.4317, allocations: 10.5 kB / 0.5188 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.4318, allocations: 15.59 kB / 0.5188 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.4322, allocations: 113.5 kB / 0.5189 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.4322, allocations: 23.44 kB / 0.5189 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4325, allocations: 68.64 kB / 0.519 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.4325, allocations: 37.3 kB / 0.519 GB, free: 19.3 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.0003504/0.4329, allocations: 319.3 kB / 0.5193 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.4329, allocations: 51.75 kB / 0.5194 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.433, allocations: 33.36 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.433, allocations: 6.5 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.433, allocations: 5.766 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.433, allocations: 4.641 kB / 0.5194 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4347, allocations: 1.356 MB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4347, allocations: 2.344 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.4348, allocations: 15.73 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4348, allocations: 4.75 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.4348, allocations: 20.06 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4348, allocations: 2.625 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4348, allocations: 3.438 kB / 0.5208 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4359, allocations: 0.9004 MB / 0.5217 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.436, allocations: 45.92 kB / 0.5217 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.436, allocations: 18.84 kB / 0.5217 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4362, allocations: 16.33 kB / 0.5218 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.4363, allocations: 36.12 kB / 0.5218 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.4364, allocations: 23.5 kB / 0.5218 GB, free: 18.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.4365, allocations: 198.8 kB / 0.522 GB, free: 18.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4365, allocations: 0 / 0.522 GB, free: 18.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007954/0.4373, allocations: 221.2 kB / 0.5222 GB, free: 18.35 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.002211/0.4396, allocations: 1.71 MB / 0.5239 GB, free: 17.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4406, allocations: 0.5391 MB / 0.5244 GB, free: 17.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4406, allocations: 0 / 0.5244 GB, free: 17.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.441, allocations: 238.9 kB / 0.5246 GB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.4417, allocations: 102.3 kB / 0.5247 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.4485, allocations: 4.876 MB / 0.5295 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4489, allocations: 331.5 kB / 0.5298 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.4492, allocations: 65.62 kB / 0.5299 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.4494, allocations: 199.6 kB / 0.5301 GB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4494, allocations: 0 / 0.5301 GB, free: 13.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.4904, allocations: 12.91 MB / 0.5427 GB, free: 9.254 MB / 382.1 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 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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/243.fmutmp/sources/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/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/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 \"243\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/243.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.449546362971887] Failed to read output from testmodel.py, exit status != 0: 0.9162667049095035 0.93360319 0.789252288 Calling exit ...