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.0016/0.0016, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.002195/0.002195, allocations: 213.5 kB / 23.05 MB, free: 4.945 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.06718/0.06718, allocations: 12.21 MB / 325.5 MB, free: 7.246 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.002045/0.002045, allocations: 63.89 kB / 453.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 56.39 MB / 0.4978 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.008082/0.1332, allocations: 3.959 MB / 0.5017 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.1361, allocations: 1.249 MB / 0.5029 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.1367, allocations: 23.75 kB / 0.5029 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.1374, allocations: 154.6 kB / 0.5031 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.1379, allocations: 91.06 kB / 0.5032 GB, free: 11.01 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.001549/0.1394, allocations: 466.8 kB / 0.5036 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1407, allocations: 0.7528 MB / 0.5044 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.1413, allocations: 252.5 kB / 0.5046 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.1419, allocations: 366.8 kB / 0.5049 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.1426, allocations: 442.1 kB / 0.5054 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.1428, allocations: 88 kB / 0.5055 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.1433, allocations: 203.9 kB / 0.5056 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.1437, allocations: 291.2 kB / 0.5059 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.1443, allocations: 401.9 kB / 0.5063 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.146, allocations: 1.109 MB / 0.5074 GB, free: 6.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.146, allocations: 4 kB / 0.5074 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.146, allocations: 0 / 0.5074 GB, free: 6.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.1461, allocations: 0 / 0.5074 GB, free: 6.648 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.003479/0.1495, allocations: 1.667 MB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1496, allocations: 8.031 kB / 0.509 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.1498, allocations: 130.7 kB / 0.5092 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.15, allocations: 88.41 kB / 0.5092 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.1507, allocations: 397.8 kB / 0.5096 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.1508, allocations: 54.36 kB / 0.5097 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1509, allocations: 76.36 kB / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1524, allocations: 0.7881 MB / 0.5105 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1524, allocations: 3.938 kB / 0.5105 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.1525, allocations: 31.98 kB / 0.5105 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1525, allocations: 20 kB / 0.5106 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.1534, allocations: 464.3 kB / 0.511 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.1568, allocations: 2.081 MB / 0.513 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.1576, allocations: 481.2 kB / 0.5135 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2565/0.4141, allocations: 223.9 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/0.4142, allocations: 8.812 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.4149, allocations: 351.7 kB / 0.5141 GB, free: 20.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.005e-06/0.4149, allocations: 0.5938 kB / 0.5141 GB, free: 20.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001531/0.4164, allocations: 0.8822 MB / 0.5149 GB, free: 20.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.4165, allocations: 196.7 kB / 0.5151 GB, free: 20.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.4169, allocations: 347.3 kB / 0.5154 GB, free: 20.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.417, allocations: 52.38 kB / 0.5155 GB, free: 20.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.4172, allocations: 334.7 kB / 0.5158 GB, free: 20.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4173, allocations: 167.2 kB / 0.516 GB, free: 20.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.4175, allocations: 183 kB / 0.5161 GB, free: 20.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.4176, allocations: 359.8 kB / 0.5165 GB, free: 19.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.4179, allocations: 179.2 kB / 0.5167 GB, free: 19.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.4183, allocations: 479 kB / 0.5171 GB, free: 19.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.4192, allocations: 0.7096 MB / 0.5178 GB, free: 19.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4192, allocations: 4.281 kB / 0.5178 GB, free: 19.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001101/0.4203, allocations: 0.7047 MB / 0.5185 GB, free: 19.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4203, allocations: 11.44 kB / 0.5185 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.4203, allocations: 12.66 kB / 0.5185 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.4203, allocations: 19.92 kB / 0.5185 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.4207, allocations: 118.1 kB / 0.5187 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.4208, allocations: 21.06 kB / 0.5187 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.421, allocations: 67.98 kB / 0.5187 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.4211, allocations: 37.62 kB / 0.5188 GB, free: 19.21 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.0003636/0.4214, allocations: 313.2 kB / 0.5191 GB, free: 19.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.4215, allocations: 49.7 kB / 0.5191 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.4216, allocations: 41.72 kB / 0.5192 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4216, allocations: 9.625 kB / 0.5192 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4216, allocations: 3.688 kB / 0.5192 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4216, allocations: 3.188 kB / 0.5192 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4234, allocations: 1.417 MB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4234, allocations: 4.125 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.4235, allocations: 14.16 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4235, allocations: 7.406 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.4236, allocations: 16.31 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4236, allocations: 4.625 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4236, allocations: 4.172 kB / 0.5206 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4247, allocations: 0.903 MB / 0.5215 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4248, allocations: 45.61 kB / 0.5215 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.4248, allocations: 13.91 kB / 0.5215 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.425, allocations: 13.48 kB / 0.5216 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.4251, allocations: 36.58 kB / 0.5216 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.4251, allocations: 25.52 kB / 0.5216 GB, free: 18.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4253, allocations: 197.8 kB / 0.5218 GB, free: 18.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4253, allocations: 0 / 0.5218 GB, free: 18.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.4262, allocations: 231.7 kB / 0.522 GB, free: 18.25 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.002301/0.4285, allocations: 1.698 MB / 0.5237 GB, free: 17.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4295, allocations: 0.5263 MB / 0.5242 GB, free: 17.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4295, allocations: 1.875 kB / 0.5242 GB, free: 17.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.4299, allocations: 234 kB / 0.5244 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.4306, allocations: 101.4 kB / 0.5245 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/0.4373, allocations: 4.876 MB / 0.5293 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.4379, allocations: 0.9273 MB / 0.5302 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.4381, allocations: 67.64 kB / 0.5303 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.4384, allocations: 196.7 kB / 0.5304 GB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4384, allocations: 0 / 0.5304 GB, free: 12.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.4833, allocations: 12.57 MB / 0.5427 GB, free: 8.656 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.475690346909687] Failed to read output from testmodel.py, exit status != 0: 0.9191343700513244 0.934704202 0.785077645 Calling exit ...