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.001783/0.001783, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.002064/0.002064, allocations: 223.7 kB / 23.05 MB, free: 4.996 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.08794/0.08794, allocations: 12.22 MB / 325.5 MB, free: 7.363 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.00241/0.00241, allocations: 67.89 kB / 453.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1257, allocations: 56.4 MB / 0.4978 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.006072/0.1318, allocations: 3.95 MB / 0.5017 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.1343, allocations: 1.246 MB / 0.5029 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1346, allocations: 27.75 kB / 0.5029 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.135, allocations: 150.6 kB / 0.5031 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1353, allocations: 95.03 kB / 0.5032 GB, free: 11.04 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.001203/0.1365, allocations: 466.8 kB / 0.5036 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.1374, allocations: 0.7605 MB / 0.5044 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.1378, allocations: 248.5 kB / 0.5046 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.1383, allocations: 366.8 kB / 0.5049 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.1388, allocations: 446.1 kB / 0.5054 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.139, allocations: 88 kB / 0.5055 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.1393, allocations: 203.9 kB / 0.5056 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.1396, allocations: 291.1 kB / 0.5059 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.14, allocations: 397.9 kB / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1413, allocations: 1.113 MB / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1413, allocations: 0 / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1413, allocations: 0 / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1413, allocations: 4 kB / 0.5074 GB, free: 6.676 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.002643/0.144, allocations: 1.675 MB / 0.509 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.144, allocations: 8.031 kB / 0.509 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.1442, allocations: 122.8 kB / 0.5092 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.1444, allocations: 88.41 kB / 0.5092 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.145, allocations: 393.8 kB / 0.5096 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.1451, allocations: 54.36 kB / 0.5097 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1452, allocations: 80.36 kB / 0.5097 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1465, allocations: 0.7842 MB / 0.5105 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1465, allocations: 3.938 kB / 0.5105 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.1466, allocations: 31.98 kB / 0.5105 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1466, allocations: 16 kB / 0.5106 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.1474, allocations: 473.7 kB / 0.511 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.1503, allocations: 2.073 MB / 0.513 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.151, allocations: 485.3 kB / 0.5135 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2246/0.3757, allocations: 226.5 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.3758, allocations: 7.844 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/0.3764, allocations: 348.3 kB / 0.5141 GB, free: 20.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.868e-06/0.3764, allocations: 3.531 kB / 0.5141 GB, free: 20.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.00143/0.3778, allocations: 0.8782 MB / 0.5149 GB, free: 20.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/0.3779, allocations: 197.1 kB / 0.5151 GB, free: 20.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.3783, allocations: 347.5 kB / 0.5154 GB, free: 20.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.3784, allocations: 53.92 kB / 0.5155 GB, free: 20.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3786, allocations: 337.1 kB / 0.5158 GB, free: 20.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3787, allocations: 167.1 kB / 0.516 GB, free: 20.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3789, allocations: 180.8 kB / 0.5161 GB, free: 20.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.379, allocations: 365.2 kB / 0.5165 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.3792, allocations: 180 kB / 0.5167 GB, free: 19.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.3796, allocations: 477.1 kB / 0.5171 GB, free: 19.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.3803, allocations: 0.7067 MB / 0.5178 GB, free: 19.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3803, allocations: 2.75 kB / 0.5178 GB, free: 19.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009843/0.3813, allocations: 0.7063 MB / 0.5185 GB, free: 19.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3813, allocations: 10.27 kB / 0.5185 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.3814, allocations: 13.47 kB / 0.5185 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.3814, allocations: 20.47 kB / 0.5185 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3817, allocations: 117.9 kB / 0.5187 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.3818, allocations: 20.75 kB / 0.5187 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.382, allocations: 65.83 kB / 0.5187 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.3821, allocations: 37.06 kB / 0.5188 GB, free: 19.22 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.0003081/0.3824, allocations: 319.1 kB / 0.5191 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.3824, allocations: 47.19 kB / 0.5191 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.3825, allocations: 36.91 kB / 0.5192 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3825, allocations: 8.25 kB / 0.5192 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3825, allocations: 0 / 0.5192 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3825, allocations: 5.125 kB / 0.5192 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.3842, allocations: 1.417 MB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3842, allocations: 4.25 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.3843, allocations: 17.73 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3843, allocations: 4.312 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3843, allocations: 17.78 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3843, allocations: 4.219 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3843, allocations: 6.609 kB / 0.5206 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3854, allocations: 0.9009 MB / 0.5215 GB, free: 18.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3854, allocations: 46.64 kB / 0.5215 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.3855, allocations: 15.28 kB / 0.5215 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3857, allocations: 10.55 kB / 0.5216 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.3857, allocations: 40.12 kB / 0.5216 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.3858, allocations: 29.52 kB / 0.5216 GB, free: 18.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3859, allocations: 198.7 kB / 0.5218 GB, free: 18.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3859, allocations: 0 / 0.5218 GB, free: 18.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.3866, allocations: 227.7 kB / 0.522 GB, free: 18.26 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.002054/0.3887, allocations: 1.699 MB / 0.5237 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008553/0.3895, allocations: 0.5282 MB / 0.5242 GB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3896, allocations: 5.5 kB / 0.5242 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.3899, allocations: 231.1 kB / 0.5244 GB, free: 17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.3905, allocations: 103.8 kB / 0.5245 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.3963, allocations: 4.873 MB / 0.5293 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.3968, allocations: 0.9278 MB / 0.5302 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.3971, allocations: 67.77 kB / 0.5303 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.3973, allocations: 201.2 kB / 0.5304 GB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3973, allocations: 0 / 0.5304 GB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.4436, allocations: 12.56 MB / 0.5427 GB, free: 8.695 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.4367942769968067] Failed to read output from testmodel.py, exit status != 0: 0.8621707749989582 0.882270268 0.736386871 Calling exit ...