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.001566/0.001566, allocations: 108.4 kB / 17.16 MB, free: 5.855 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.001751/0.001751, allocations: 213.1 kB / 20.14 MB, free: 2.898 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 / 253.5 MB, free: 15.08 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.06457/0.06457, allocations: 12.22 MB / 321.8 MB, free: 13.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 74.08 kB / 448.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08725, allocations: 56.36 MB / 0.4926 GB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.004253/0.0915, allocations: 2.955 MB / 0.4955 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.09327, allocations: 0.9029 MB / 0.4964 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.09341, allocations: 15.88 kB / 0.4964 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.09373, allocations: 91.12 kB / 0.4965 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.09395, allocations: 55.53 kB / 0.4966 GB, free: 13.58 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.0007743/0.09473, allocations: 283.2 kB / 0.4968 GB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.09523, allocations: 414.9 kB / 0.4972 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.09556, allocations: 175.3 kB / 0.4974 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.09579, allocations: 203.3 kB / 0.4976 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.09612, allocations: 246.9 kB / 0.4978 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.09619, allocations: 48 kB / 0.4979 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.09652, allocations: 195.8 kB / 0.4981 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.09668, allocations: 155.5 kB / 0.4982 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.09689, allocations: 218.7 kB / 0.4984 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.09774, allocations: 0.6808 MB / 0.4991 GB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09775, allocations: 0 / 0.4991 GB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09775, allocations: 0 / 0.4991 GB, free: 10.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.09776, allocations: 4 kB / 0.4991 GB, free: 10.98 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.001784/0.09954, allocations: 1.164 MB / 0.5002 GB, free: 9.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.09958, allocations: 12.03 kB / 0.5002 GB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.61e-05/0.09968, allocations: 82.7 kB / 0.5003 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.09979, allocations: 56.59 kB / 0.5004 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1002, allocations: 323.6 kB / 0.5007 GB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.1003, allocations: 29.38 kB / 0.5007 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.1003, allocations: 44.36 kB / 0.5007 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.1012, allocations: 484 kB / 0.5012 GB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1012, allocations: 3.938 kB / 0.5012 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.1012, allocations: 19.98 kB / 0.5012 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1012, allocations: 8 kB / 0.5012 GB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1017, allocations: 263.7 kB / 0.5015 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.1035, allocations: 1.359 MB / 0.5028 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.1041, allocations: 274.4 kB / 0.5031 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.1043, allocations: 143.3 kB / 0.5032 GB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1044, allocations: 12.06 kB / 0.5032 GB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.1048, allocations: 256.7 kB / 0.5035 GB, free: 6.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.1048, allocations: 0 / 0.5035 GB, free: 6.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001182/0.106, allocations: 0.5835 MB / 0.504 GB, free: 5.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.1061, allocations: 160.5 kB / 0.5042 GB, free: 5.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1064, allocations: 260.9 kB / 0.5044 GB, free: 5.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.1065, allocations: 45.69 kB / 0.5045 GB, free: 5.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1066, allocations: 216.7 kB / 0.5047 GB, free: 4.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1067, allocations: 99.25 kB / 0.5048 GB, free: 4.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1069, allocations: 122.2 kB / 0.5049 GB, free: 4.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1071, allocations: 350.7 kB / 0.5052 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1074, allocations: 125 kB / 0.5054 GB, free: 4.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.1078, allocations: 318.5 kB / 0.5057 GB, free: 3.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.1085, allocations: 484.5 kB / 0.5061 GB, free: 3.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1085, allocations: 0 / 0.5061 GB, free: 3.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008688/0.1094, allocations: 493.3 kB / 0.5066 GB, free: 2.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1094, allocations: 8 kB / 0.5066 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1094, allocations: 4 kB / 0.5066 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.1094, allocations: 12 kB / 0.5066 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1097, allocations: 75.83 kB / 0.5067 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1097, allocations: 15.94 kB / 0.5067 GB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1099, allocations: 39.73 kB / 0.5067 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.11, allocations: 31.92 kB / 0.5068 GB, free: 2.539 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.0003152/0.1103, allocations: 235 kB / 0.507 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.1103, allocations: 27.81 kB / 0.507 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.1108, allocations: 247.3 kB / 0.5073 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1108, allocations: 8.031 kB / 0.5073 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1108, allocations: 0 / 0.5073 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1108, allocations: 7.984 kB / 0.5073 GB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.1123, allocations: 1.016 MB / 0.5083 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1123, allocations: 4 kB / 0.5083 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1124, allocations: 15.98 kB / 0.5083 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1124, allocations: 4 kB / 0.5083 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.1124, allocations: 11.92 kB / 0.5083 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1124, allocations: 8 kB / 0.5083 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1124, allocations: 4 kB / 0.5083 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.1134, allocations: 0.6554 MB / 0.509 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.1135, allocations: 108.8 kB / 0.5091 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.1135, allocations: 15.92 kB / 0.5091 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1137, allocations: 8 kB / 0.5091 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1137, allocations: 23.91 kB / 0.5091 GB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.1138, allocations: 19.98 kB / 0.5091 GB, free: 16 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1139, allocations: 152.6 kB / 0.5093 GB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1139, allocations: 0 / 0.5093 GB, free: 15.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.1146, allocations: 151.5 kB / 0.5094 GB, free: 15.71 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.002299/0.1169, allocations: 1.449 MB / 0.5108 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007041/0.1176, allocations: 352.9 kB / 0.5112 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1176, allocations: 0 / 0.5112 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.1178, allocations: 147.9 kB / 0.5113 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.1185, allocations: 87.05 kB / 0.5114 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.1234, allocations: 3.503 MB / 0.5148 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.124, allocations: 0.8268 MB / 0.5156 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1241, allocations: 46.94 kB / 0.5157 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1243, allocations: 123.4 kB / 0.5158 GB, free: 8.953 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1243, allocations: 4 kB / 0.5158 GB, free: 8.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.1602, allocations: 8.687 MB / 0.5243 GB, free: 456 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: Not linked -- 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 -- 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.1402248040103586] Failed to read output from testmodel.py, exit status != 0: 0.5695384290011134 0.598108235 0.49526861699999997 Calling exit ...