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.001784/0.001784, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001851/0.001851, allocations: 221 kB / 23.03 MB, free: 5.012 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06848/0.06848, allocations: 12.23 MB / 325.5 MB, free: 7.078 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.002036/0.002036, allocations: 63.91 kB / 453.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 56.4 MB / 0.4978 GB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.006845/0.118, allocations: 3.744 MB / 0.5014 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1208, allocations: 1.207 MB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.1212, allocations: 23.75 kB / 0.5026 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1217, allocations: 150.6 kB / 0.5028 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.122, allocations: 95.05 kB / 0.5028 GB, free: 11.13 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.001194/0.1232, allocations: 474.8 kB / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.1241, allocations: 0.745 MB / 0.504 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.1246, allocations: 244.5 kB / 0.5043 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.125, allocations: 374.7 kB / 0.5046 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.1255, allocations: 390.1 kB / 0.505 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.1256, allocations: 88 kB / 0.5051 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.126, allocations: 199.9 kB / 0.5053 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.1263, allocations: 283.2 kB / 0.5055 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.1266, allocations: 314.3 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.128, allocations: 1.128 MB / 0.5069 GB, free: 6.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.128, allocations: 7.984 kB / 0.5069 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.128, allocations: 0 / 0.5069 GB, free: 6.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.128, allocations: 0 / 0.5069 GB, free: 6.895 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.002786/0.1308, allocations: 1.671 MB / 0.5086 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1308, allocations: 12.03 kB / 0.5086 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.131, allocations: 114.8 kB / 0.5087 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1311, allocations: 96.41 kB / 0.5088 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.1318, allocations: 393.8 kB / 0.5092 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.1319, allocations: 58.36 kB / 0.5092 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.132, allocations: 76.36 kB / 0.5093 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.1333, allocations: 0.7881 MB / 0.5101 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1333, allocations: 3.938 kB / 0.5101 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.1334, allocations: 31.98 kB / 0.5101 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.1334, allocations: 16 kB / 0.5101 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.1342, allocations: 465.8 kB / 0.5106 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.1371, allocations: 1.901 MB / 0.5124 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.1379, allocations: 489.2 kB / 0.5129 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.1383, allocations: 236.3 kB / 0.5131 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1383, allocations: 11.94 kB / 0.5131 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.252/0.3903, allocations: 349.7 kB / 0.5134 GB, free: 21.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 4.218e-06/0.3903, allocations: 1.062 kB / 0.5134 GB, free: 21.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001572/0.3919, allocations: 0.8693 MB / 0.5143 GB, free: 21.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.392, allocations: 194.1 kB / 0.5145 GB, free: 20.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3924, allocations: 350.1 kB / 0.5148 GB, free: 20.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.3924, allocations: 56.33 kB / 0.5149 GB, free: 20.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.3926, allocations: 332.3 kB / 0.5152 GB, free: 20.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3927, allocations: 164.8 kB / 0.5153 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3929, allocations: 182.9 kB / 0.5155 GB, free: 20.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.393, allocations: 367.3 kB / 0.5159 GB, free: 20.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3933, allocations: 180.2 kB / 0.516 GB, free: 20.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.3936, allocations: 0.5152 MB / 0.5165 GB, free: 19.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.3943, allocations: 0.7056 MB / 0.5172 GB, free: 19.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.3943, allocations: 3.406 kB / 0.5172 GB, free: 19.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009371/0.3953, allocations: 0.7071 MB / 0.5179 GB, free: 19.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3953, allocations: 8.75 kB / 0.5179 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.3953, allocations: 10.66 kB / 0.5179 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.3954, allocations: 15.31 kB / 0.518 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.3957, allocations: 118 kB / 0.5181 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.3957, allocations: 19.12 kB / 0.5181 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.396, allocations: 74.69 kB / 0.5182 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.396, allocations: 38.59 kB / 0.5182 GB, free: 19.24 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.0002963/0.3963, allocations: 313.2 kB / 0.5185 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.3964, allocations: 53.48 kB / 0.5185 GB, free: 19.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.3965, allocations: 34.78 kB / 0.5186 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3965, allocations: 6.125 kB / 0.5186 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3965, allocations: 1.969 kB / 0.5186 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3965, allocations: 7.219 kB / 0.5186 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.398, allocations: 1.355 MB / 0.5199 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.398, allocations: 3 kB / 0.5199 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.3981, allocations: 20.31 kB / 0.5199 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3981, allocations: 3.219 kB / 0.5199 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.3981, allocations: 15.95 kB / 0.52 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3981, allocations: 4.656 kB / 0.52 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3981, allocations: 4.031 kB / 0.52 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.3991, allocations: 0.9006 MB / 0.5208 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.3991, allocations: 47.42 kB / 0.5209 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.3992, allocations: 17.78 kB / 0.5209 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3994, allocations: 11.83 kB / 0.5209 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.3995, allocations: 33.61 kB / 0.521 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.3995, allocations: 26.83 kB / 0.521 GB, free: 18.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3997, allocations: 200.9 kB / 0.5212 GB, free: 18.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3997, allocations: 0 / 0.5212 GB, free: 18.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006934/0.4004, allocations: 228.8 kB / 0.5214 GB, free: 18.29 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.001965/0.4023, allocations: 1.703 MB / 0.5231 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008705/0.4032, allocations: 0.535 MB / 0.5236 GB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4032, allocations: 2 kB / 0.5236 GB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4036, allocations: 238.3 kB / 0.5238 GB, free: 17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.4042, allocations: 107.7 kB / 0.5239 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.4095, allocations: 4.872 MB / 0.5287 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4098, allocations: 330.9 kB / 0.529 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.41, allocations: 66.38 kB / 0.529 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.4102, allocations: 201.2 kB / 0.5292 GB, free: 13.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4102, allocations: 1.094 kB / 0.5292 GB, free: 13.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.4576, allocations: 13.24 MB / 0.5422 GB, free: 8.824 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: 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 \"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.504859833046794] Failed to read output from testmodel.py, exit status != 0: 0.8771439152769744 0.8908253500000001 0.7593144860000001 Calling exit ...