Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.001631/0.001631, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.002081/0.002081, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.06521/0.06521, allocations: 12.22 MB / 322.5 MB, free: 13.26 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_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 63.94 kB / 448.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1225, allocations: 56.38 MB / 0.4933 GB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.004891/0.1274, allocations: 2.951 MB / 0.4962 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1293, allocations: 0.899 MB / 0.4971 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1294, allocations: 11.88 kB / 0.4971 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1298, allocations: 91.19 kB / 0.4972 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.13, allocations: 59.47 kB / 0.4973 GB, free: 13.6 MB / 366.1 MB [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.sendTo'. [/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/Communication.mo:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.1307, allocations: 279.2 kB / 0.4975 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.1313, allocations: 414.9 kB / 0.4979 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.1316, allocations: 175.2 kB / 0.4981 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.1318, allocations: 199.3 kB / 0.4983 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1322, allocations: 246.9 kB / 0.4985 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.1322, allocations: 52 kB / 0.4986 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.1326, allocations: 195.8 kB / 0.4987 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.1328, allocations: 155.5 kB / 0.4989 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.133, allocations: 218.7 kB / 0.4991 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008581/0.1338, allocations: 0.6769 MB / 0.4998 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1338, allocations: 4 kB / 0.4998 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1338, allocations: 0 / 0.4998 GB, free: 11.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1338, allocations: 0 / 0.4998 GB, free: 11.02 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg lcmSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg lcmReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001952/0.1358, allocations: 1.176 MB / 0.5009 GB, free: 9.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1359, allocations: 12.03 kB / 0.5009 GB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.297e-05/0.1359, allocations: 9.188 kB / 0.5009 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.136, allocations: 82.7 kB / 0.501 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1361, allocations: 56.59 kB / 0.5011 GB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.1366, allocations: 323.6 kB / 0.5014 GB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.1366, allocations: 29.38 kB / 0.5014 GB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.1367, allocations: 44.36 kB / 0.5014 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.1376, allocations: 487.7 kB / 0.5019 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1376, allocations: 0 / 0.5019 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1376, allocations: 23.97 kB / 0.5019 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1376, allocations: 8 kB / 0.5019 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.1381, allocations: 263.7 kB / 0.5022 GB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.14, allocations: 1.351 MB / 0.5035 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.1407, allocations: 290.5 kB / 0.5038 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1409, allocations: 139.3 kB / 0.5039 GB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.141, allocations: 4 kB / 0.5039 GB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.1414, allocations: 252.7 kB / 0.5042 GB, free: 6.188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.1414, allocations: 0 / 0.5042 GB, free: 6.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001183/0.1426, allocations: 0.5934 MB / 0.5047 GB, free: 5.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/0.1428, allocations: 148.5 kB / 0.5049 GB, free: 5.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.1432, allocations: 272.8 kB / 0.5052 GB, free: 5.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.1432, allocations: 41.7 kB / 0.5052 GB, free: 5.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.1434, allocations: 216.7 kB / 0.5054 GB, free: 4.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/0.1435, allocations: 103.2 kB / 0.5055 GB, free: 4.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.1436, allocations: 118.2 kB / 0.5056 GB, free: 4.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1438, allocations: 350.7 kB / 0.5059 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1441, allocations: 121 kB / 0.5061 GB, free: 4.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.1444, allocations: 318.4 kB / 0.5064 GB, free: 3.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.1451, allocations: 488.4 kB / 0.5068 GB, free: 3.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1451, allocations: 0 / 0.5068 GB, free: 3.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008612/0.146, allocations: 489.4 kB / 0.5073 GB, free: 2.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.146, allocations: 12.12 kB / 0.5073 GB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.146, allocations: 8 kB / 0.5073 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.146, allocations: 8 kB / 0.5073 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1463, allocations: 79.83 kB / 0.5074 GB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.1463, allocations: 11.94 kB / 0.5074 GB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1466, allocations: 39.73 kB / 0.5074 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.1466, allocations: 35.86 kB / 0.5075 GB, free: 2.543 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,lcmSend.dummy,$PRE.lcmSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,lcmReceive.pkgOut.dummy,$PRE.lcmReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,lcmReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,lcmSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003259/0.1469, allocations: 231.1 kB / 0.5077 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.147, allocations: 35.8 kB / 0.5077 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.1475, allocations: 231.5 kB / 0.508 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1475, allocations: 7.938 kB / 0.508 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1475, allocations: 4 kB / 0.508 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.1475, allocations: 3.984 kB / 0.508 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1491, allocations: 1.024 MB / 0.509 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1491, allocations: 3.984 kB / 0.509 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1491, allocations: 12 kB / 0.509 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1491, allocations: 0 / 0.509 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1492, allocations: 19.92 kB / 0.509 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1492, allocations: 0 / 0.509 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.1492, allocations: 8.406 kB / 0.509 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.1501, allocations: 0.6552 MB / 0.5097 GB, free: 224 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.1502, allocations: 104.9 kB / 0.5098 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1502, allocations: 15.92 kB / 0.5098 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1504, allocations: 7.984 kB / 0.5098 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.1505, allocations: 15.98 kB / 0.5098 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.1505, allocations: 19.98 kB / 0.5098 GB, free: 40 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.1507, allocations: 156.5 kB / 0.51 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1507, allocations: 0 / 0.51 GB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.1514, allocations: 151.5 kB / 0.5101 GB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.002262/0.1537, allocations: 1.461 MB / 0.5115 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.1544, allocations: 344.9 kB / 0.5119 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1544, allocations: 0 / 0.5119 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.1547, allocations: 150.3 kB / 0.512 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.1554, allocations: 87.31 kB / 0.5121 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.1605, allocations: 3.499 MB / 0.5155 GB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.161, allocations: 0.8229 MB / 0.5163 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1612, allocations: 58.88 kB / 0.5164 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.1614, allocations: 123.4 kB / 0.5165 GB, free: 8.961 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1614, allocations: 0 / 0.5165 GB, free: 8.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.1917, allocations: 8.743 MB / 0.525 GB, free: 428 kB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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_LCM/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.fmutmp/sources/../binaries/linux64 -- Linking cm-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a -- Linking pthread-NOTFOUND -- 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: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a;pthread-NOTFOUND;/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: cm linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.fmutmp/sources pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.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.326107248023618] Failed to read output from testmodel.py, exit status != 0: 0.5874650490004569 0.612246344 0.473468151 Calling exit ...