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.001513/0.001513, allocations: 109 kB / 20.53 MB, free: 1.422 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.001473/0.001473, allocations: 210.6 kB / 23.83 MB, free: 4.637 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.504/1.504, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.06426/0.06426, allocations: 12.22 MB / 326.2 MB, free: 7.234 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.001986/0.001986, allocations: 67.91 kB / 454.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1344, allocations: 56.39 MB / 0.4986 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.007108/0.1415, allocations: 3.954 MB / 0.5025 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1442, allocations: 1.246 MB / 0.5037 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.1446, allocations: 27.69 kB / 0.5037 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1451, allocations: 150.6 kB / 0.5038 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1454, allocations: 91.05 kB / 0.5039 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.001383/0.1468, allocations: 470.8 kB / 0.5044 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.1477, allocations: 0.7527 MB / 0.5051 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.1482, allocations: 256.5 kB / 0.5054 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.1486, allocations: 370.8 kB / 0.5057 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.1492, allocations: 434.1 kB / 0.5061 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1493, allocations: 88 kB / 0.5062 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1497, allocations: 211.9 kB / 0.5064 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.15, allocations: 287.1 kB / 0.5067 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.1504, allocations: 393.9 kB / 0.5071 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1522, allocations: 1.116 MB / 0.5082 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1522, allocations: 0 / 0.5082 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1522, allocations: 4 kB / 0.5082 GB, free: 6.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.1522, allocations: 4 kB / 0.5082 GB, free: 6.641 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.003509/0.1557, allocations: 1.671 MB / 0.5098 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.1558, allocations: 8.031 kB / 0.5098 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.32e-05/0.1558, allocations: 22.19 kB / 0.5098 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.156, allocations: 122.8 kB / 0.5099 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1562, allocations: 92.42 kB / 0.51 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.157, allocations: 393.8 kB / 0.5104 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.1571, allocations: 62.36 kB / 0.5105 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1572, allocations: 72.36 kB / 0.5105 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1586, allocations: 0.784 MB / 0.5113 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1586, allocations: 7.938 kB / 0.5113 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.1587, allocations: 31.98 kB / 0.5113 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.1587, allocations: 23.94 kB / 0.5114 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.1596, allocations: 469.8 kB / 0.5118 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.1631, allocations: 2.061 MB / 0.5138 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.164, allocations: 493.2 kB / 0.5143 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.235/0.399, allocations: 221.3 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-05/0.3991, allocations: 11.56 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.3996, allocations: 353.9 kB / 0.5149 GB, free: 21.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.504e-06/0.3996, allocations: 0 / 0.5149 GB, free: 21.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001466/0.4011, allocations: 0.8794 MB / 0.5157 GB, free: 21.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.4012, allocations: 201.5 kB / 0.5159 GB, free: 20.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.4015, allocations: 348 kB / 0.5162 GB, free: 20.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.4015, allocations: 50.58 kB / 0.5163 GB, free: 20.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.4017, allocations: 333.5 kB / 0.5166 GB, free: 20.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4018, allocations: 167.4 kB / 0.5168 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.402, allocations: 178.8 kB / 0.5169 GB, free: 20.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.4021, allocations: 362.6 kB / 0.5173 GB, free: 20.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.4024, allocations: 182.6 kB / 0.5175 GB, free: 20.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.4028, allocations: 471.5 kB / 0.5179 GB, free: 19.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.4035, allocations: 0.7128 MB / 0.5186 GB, free: 19.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4035, allocations: 3.594 kB / 0.5186 GB, free: 19.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001064/0.4046, allocations: 0.7109 MB / 0.5193 GB, free: 19.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4046, allocations: 11.19 kB / 0.5193 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.4046, allocations: 10.84 kB / 0.5193 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.4046, allocations: 16.42 kB / 0.5193 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.405, allocations: 120.4 kB / 0.5194 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.405, allocations: 21.27 kB / 0.5195 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.4053, allocations: 64.25 kB / 0.5195 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4053, allocations: 40.38 kB / 0.5196 GB, free: 19.39 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.000346/0.4057, allocations: 315.7 kB / 0.5199 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.4058, allocations: 44.59 kB / 0.5199 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.4058, allocations: 40.59 kB / 0.5199 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.4058, allocations: 11.92 kB / 0.52 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4058, allocations: 1.812 kB / 0.52 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4058, allocations: 4.875 kB / 0.52 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4074, allocations: 1.408 MB / 0.5213 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4074, allocations: 1.75 kB / 0.5213 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.4075, allocations: 18.86 kB / 0.5214 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4075, allocations: 4.719 kB / 0.5214 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.4075, allocations: 22.19 kB / 0.5214 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4075, allocations: 4.234 kB / 0.5214 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4075, allocations: 3.219 kB / 0.5214 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4086, allocations: 0.9025 MB / 0.5223 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.4086, allocations: 50.34 kB / 0.5223 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.4087, allocations: 13.84 kB / 0.5223 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.4088, allocations: 12.38 kB / 0.5223 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.4089, allocations: 36.52 kB / 0.5224 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.409, allocations: 27.12 kB / 0.5224 GB, free: 18.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4091, allocations: 195 kB / 0.5226 GB, free: 18.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4091, allocations: 0 / 0.5226 GB, free: 18.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.4098, allocations: 229.5 kB / 0.5228 GB, free: 18.37 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.00206/0.4119, allocations: 1.702 MB / 0.5245 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.4129, allocations: 0.5238 MB / 0.525 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4129, allocations: 0 / 0.525 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.4133, allocations: 235.5 kB / 0.5252 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.414, allocations: 106.5 kB / 0.5253 GB, free: 17.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.4214, allocations: 4.878 MB / 0.5301 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.4219, allocations: 0.9261 MB / 0.531 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.4222, allocations: 68.69 kB / 0.531 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.4224, allocations: 202.8 kB / 0.5312 GB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4224, allocations: 0 / 0.5312 GB, free: 12.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.4618, allocations: 12.6 MB / 0.5435 GB, free: 8.727 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.4115380859584548] Failed to read output from testmodel.py, exit status != 0: 0.8731268820120022 0.885180406 0.729616979 Calling exit ...