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.00142/0.00142, 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.001534/0.001534, allocations: 220.1 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06528/0.06528, allocations: 12.23 MB / 325.4 MB, free: 7.016 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.002078/0.002078, allocations: 64.08 kB / 453.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 56.4 MB / 0.4977 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005669/0.1252, allocations: 2.982 MB / 0.5007 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1272, allocations: 0.8601 MB / 0.5015 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1274, allocations: 11.88 kB / 0.5015 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1277, allocations: 87.2 kB / 0.5016 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1279, allocations: 63.44 kB / 0.5016 GB, free: 12.31 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.0008816/0.1288, allocations: 283.2 kB / 0.5019 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1293, allocations: 410.9 kB / 0.5023 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.1296, allocations: 135.8 kB / 0.5024 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.1299, allocations: 207.3 kB / 0.5026 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.1302, allocations: 218.9 kB / 0.5028 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.1303, allocations: 48 kB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.1306, allocations: 203.8 kB / 0.5031 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1308, allocations: 155.5 kB / 0.5032 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.131, allocations: 171.1 kB / 0.5034 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.1318, allocations: 0.6847 MB / 0.5041 GB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1318, allocations: 3.938 kB / 0.5041 GB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1318, allocations: 0 / 0.5041 GB, free: 9.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1318, allocations: 0 / 0.5041 GB, free: 9.812 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.001811/0.1336, allocations: 1.081 MB / 0.5051 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1337, allocations: 8.031 kB / 0.5051 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.1338, allocations: 82.7 kB / 0.5052 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1339, allocations: 60.61 kB / 0.5053 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.1344, allocations: 265.7 kB / 0.5055 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.1345, allocations: 33.36 kB / 0.5056 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.1345, allocations: 40.38 kB / 0.5056 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.1354, allocations: 484 kB / 0.5061 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1354, allocations: 3.938 kB / 0.5061 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.1354, allocations: 20 kB / 0.5061 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1354, allocations: 8 kB / 0.5061 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1359, allocations: 259.7 kB / 0.5063 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1378, allocations: 1.253 MB / 0.5076 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.1383, allocations: 278.3 kB / 0.5078 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.1386, allocations: 135.4 kB / 0.508 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1387, allocations: 8 kB / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.1391, allocations: 260.7 kB / 0.5082 GB, free: 5.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.1391, allocations: 0 / 0.5082 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001092/0.1402, allocations: 0.5776 MB / 0.5088 GB, free: 4.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1403, allocations: 160.5 kB / 0.5089 GB, free: 4.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.1406, allocations: 264.7 kB / 0.5092 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.1407, allocations: 49.69 kB / 0.5092 GB, free: 4.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1408, allocations: 212.7 kB / 0.5094 GB, free: 3.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1409, allocations: 99.31 kB / 0.5095 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1411, allocations: 126.1 kB / 0.5096 GB, free: 3.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002678/0.1414, allocations: 342.8 kB / 0.51 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1416, allocations: 124.9 kB / 0.5101 GB, free: 3.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.142, allocations: 313.8 kB / 0.5104 GB, free: 2.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/0.1427, allocations: 492.3 kB / 0.5109 GB, free: 2.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1427, allocations: 0 / 0.5109 GB, free: 2.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008944/0.1436, allocations: 485.3 kB / 0.5113 GB, free: 1.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1436, allocations: 12.16 kB / 0.5113 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1436, allocations: 4.391 kB / 0.5113 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1437, allocations: 12 kB / 0.5113 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.1439, allocations: 75.83 kB / 0.5114 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.1439, allocations: 19.92 kB / 0.5114 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1441, allocations: 43.67 kB / 0.5115 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.1442, allocations: 24 kB / 0.5115 GB, free: 1.66 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.0002899/0.1445, allocations: 239.5 kB / 0.5117 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.1445, allocations: 35.81 kB / 0.5118 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1449, allocations: 231.4 kB / 0.512 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1449, allocations: 7.938 kB / 0.512 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.145, allocations: 0 / 0.512 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.145, allocations: 4 kB / 0.512 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1464, allocations: 0.9688 MB / 0.5129 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1464, allocations: 4 kB / 0.5129 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.1465, allocations: 12 kB / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1465, allocations: 4 kB / 0.513 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1465, allocations: 15.92 kB / 0.513 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.1465, allocations: 11.92 kB / 0.513 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1465, allocations: 0 / 0.513 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.222/0.3685, allocations: 0.6519 MB / 0.5136 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.3686, allocations: 30.59 kB / 0.5137 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.3686, allocations: 16.06 kB / 0.5137 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3688, allocations: 4.344 kB / 0.5137 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3689, allocations: 24.23 kB / 0.5137 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.3689, allocations: 19.56 kB / 0.5137 GB, free: 20.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.369, allocations: 152.4 kB / 0.5139 GB, free: 20.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 0.5139 GB, free: 20.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006513/0.3697, allocations: 154.3 kB / 0.514 GB, free: 20.87 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.001879/0.3716, allocations: 1.479 MB / 0.5155 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.3722, allocations: 345.6 kB / 0.5158 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3722, allocations: 7.938 kB / 0.5158 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3724, allocations: 149.3 kB / 0.5159 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.373, allocations: 83.42 kB / 0.516 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.3767, allocations: 3.503 MB / 0.5194 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3769, allocations: 215.8 kB / 0.5196 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3771, allocations: 59.02 kB / 0.5197 GB, free: 18.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3772, allocations: 122 kB / 0.5198 GB, free: 18.02 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3772, allocations: 0 / 0.5198 GB, free: 18.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.4206, allocations: 9.572 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.3632593019865453] Failed to read output from testmodel.py, exit status != 0: 0.8637467105872929 0.878753643 0.743918686 Calling exit ...