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.001682/0.001682, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002274/0.002274, allocations: 224 kB / 23.03 MB, free: 4.625 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.06596/0.06596, allocations: 12.22 MB / 325.4 MB, free: 7.023 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.002128/0.002128, allocations: 67.89 kB / 453.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1233, allocations: 56.4 MB / 0.4977 GB, free: 336 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005349/0.1287, allocations: 2.973 MB / 0.5007 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1305, allocations: 0.8562 MB / 0.5015 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1306, allocations: 15.81 kB / 0.5015 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.131, allocations: 91.19 kB / 0.5016 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1312, allocations: 59.45 kB / 0.5016 GB, free: 12.32 MB / 382.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.0008017/0.132, allocations: 287.2 kB / 0.5019 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.1324, allocations: 414.9 kB / 0.5023 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1328, allocations: 131.8 kB / 0.5024 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.133, allocations: 211.3 kB / 0.5026 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1333, allocations: 218.9 kB / 0.5029 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.1334, allocations: 48 kB / 0.5029 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.1338, allocations: 199.8 kB / 0.5031 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1339, allocations: 151.5 kB / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1341, allocations: 171.1 kB / 0.5034 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.135, allocations: 0.6847 MB / 0.5041 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.135, allocations: 0 / 0.5041 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.135, allocations: 0 / 0.5041 GB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.135, allocations: 4 kB / 0.5041 GB, free: 9.824 MB / 382.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.002139/0.1371, allocations: 1.081 MB / 0.5051 GB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1372, allocations: 12.03 kB / 0.5051 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1373, allocations: 78.7 kB / 0.5052 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1374, allocations: 56.61 kB / 0.5053 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.1379, allocations: 269.7 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.1379, allocations: 33.36 kB / 0.5056 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.138, allocations: 40.38 kB / 0.5056 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.1389, allocations: 484 kB / 0.5061 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1389, allocations: 7.938 kB / 0.5061 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.1389, allocations: 16 kB / 0.5061 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1389, allocations: 12 kB / 0.5061 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.1395, allocations: 259.7 kB / 0.5063 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.1414, allocations: 1.245 MB / 0.5076 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.1421, allocations: 286.3 kB / 0.5078 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1423, allocations: 139.4 kB / 0.508 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1424, allocations: 8 kB / 0.508 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.1428, allocations: 260.6 kB / 0.5082 GB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.314e-06/0.1428, allocations: 0 / 0.5082 GB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001222/0.144, allocations: 0.5807 MB / 0.5088 GB, free: 4.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1442, allocations: 156.4 kB / 0.5089 GB, free: 4.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.1445, allocations: 268.7 kB / 0.5092 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.1446, allocations: 41.7 kB / 0.5092 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1448, allocations: 212.7 kB / 0.5094 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1449, allocations: 103.3 kB / 0.5095 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1451, allocations: 118.1 kB / 0.5096 GB, free: 3.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.1453, allocations: 346.7 kB / 0.51 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1456, allocations: 128.9 kB / 0.5101 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.146, allocations: 313.8 kB / 0.5104 GB, free: 2.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.1467, allocations: 488.4 kB / 0.5109 GB, free: 2.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1467, allocations: 0 / 0.5109 GB, free: 2.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008639/0.1476, allocations: 480.9 kB / 0.5113 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1476, allocations: 8 kB / 0.5113 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1476, allocations: 8 kB / 0.5113 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.1477, allocations: 8 kB / 0.5113 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.1479, allocations: 79.83 kB / 0.5114 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.1479, allocations: 12.53 kB / 0.5114 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1481, allocations: 43.67 kB / 0.5115 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.1482, allocations: 31.98 kB / 0.5115 GB, free: 1.672 MB / 382.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.0003361/0.1485, allocations: 235.5 kB / 0.5117 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1486, allocations: 35.89 kB / 0.5118 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.1491, allocations: 235.3 kB / 0.512 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1491, allocations: 8 kB / 0.512 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1491, allocations: 0 / 0.512 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1491, allocations: 7.922 kB / 0.512 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1506, allocations: 0.9757 MB / 0.513 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1506, allocations: 0 / 0.513 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.1507, allocations: 12 kB / 0.513 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1507, allocations: 4 kB / 0.513 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.1507, allocations: 15.98 kB / 0.513 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.1507, allocations: 7.938 kB / 0.513 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1507, allocations: 4 kB / 0.513 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2611/0.4118, allocations: 0.6526 MB / 0.5136 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.4119, allocations: 29.84 kB / 0.5137 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.412, allocations: 13.36 kB / 0.5137 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.4122, allocations: 8.594 kB / 0.5137 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.4122, allocations: 19.03 kB / 0.5137 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.4123, allocations: 21.36 kB / 0.5137 GB, free: 20.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.4125, allocations: 151 kB / 0.5139 GB, free: 20.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4125, allocations: 0.9375 kB / 0.5139 GB, free: 20.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007682/0.4133, allocations: 156.7 kB / 0.514 GB, free: 20.86 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.001951/0.4152, allocations: 1.471 MB / 0.5155 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006236/0.4158, allocations: 349.5 kB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4158, allocations: 0 / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.4161, allocations: 146.3 kB / 0.5159 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.4167, allocations: 99.41 kB / 0.516 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.4206, allocations: 3.495 MB / 0.5194 GB, free: 18.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4208, allocations: 215.6 kB / 0.5196 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.421, allocations: 59.89 kB / 0.5197 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4212, allocations: 120.3 kB / 0.5198 GB, free: 18.01 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4212, allocations: 0 / 0.5198 GB, free: 18.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.4674, allocations: 9.583 MB / 0.5292 GB, free: 16.16 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '656.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_LCM/656.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_LCM/656.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 \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources pthread linked by target \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.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.5172842838801444] Failed to read output from testmodel.py, exit status != 0: 0.9033812410198152 0.92992937 0.79039529 Calling exit ...