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.001365/0.001365, allocations: 110 kB / 19.74 MB, free: 1.996 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.001735/0.001735, allocations: 220.5 kB / 23.05 MB, free: 4.996 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.06339/0.06339, allocations: 12.22 MB / 325.5 MB, free: 7.277 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.00198/0.00198, allocations: 67.89 kB / 453.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 56.4 MB / 0.4978 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005802/0.1343, allocations: 3.055 MB / 0.5008 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1361, allocations: 0.903 MB / 0.5017 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1363, allocations: 23.75 kB / 0.5017 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1367, allocations: 83.2 kB / 0.5018 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.137, allocations: 63.44 kB / 0.5019 GB, free: 12.38 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.001057/0.1381, allocations: 279.2 kB / 0.5021 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.1387, allocations: 418.8 kB / 0.5025 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.1391, allocations: 135.8 kB / 0.5027 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1394, allocations: 211.3 kB / 0.5029 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.1398, allocations: 246.9 kB / 0.5031 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.1398, allocations: 44 kB / 0.5031 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.1402, allocations: 211.8 kB / 0.5033 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1404, allocations: 151.5 kB / 0.5035 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1407, allocations: 222.8 kB / 0.5037 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009277/0.1416, allocations: 0.6769 MB / 0.5044 GB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1416, allocations: 0 / 0.5044 GB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1416, allocations: 0 / 0.5044 GB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1416, allocations: 4 kB / 0.5044 GB, free: 9.805 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.001902/0.1435, allocations: 1.084 MB / 0.5054 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1436, allocations: 8.031 kB / 0.5054 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1437, allocations: 82.7 kB / 0.5055 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.1438, allocations: 52.61 kB / 0.5056 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.1442, allocations: 269.7 kB / 0.5058 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.1442, allocations: 37.36 kB / 0.5058 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1443, allocations: 36.38 kB / 0.5059 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.1452, allocations: 488 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1452, allocations: 3.938 kB / 0.5064 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1452, allocations: 15.98 kB / 0.5064 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1453, allocations: 12 kB / 0.5064 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.1457, allocations: 267.7 kB / 0.5066 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1476, allocations: 1.323 MB / 0.5079 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.1481, allocations: 282.3 kB / 0.5082 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.1484, allocations: 143.3 kB / 0.5083 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.1484, allocations: 8.062 kB / 0.5083 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.1489, allocations: 260.6 kB / 0.5086 GB, free: 5.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.1489, allocations: 0 / 0.5086 GB, free: 5.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001125/0.15, allocations: 0.5754 MB / 0.5092 GB, free: 4.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.1501, allocations: 156.4 kB / 0.5093 GB, free: 4.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.1505, allocations: 268.7 kB / 0.5096 GB, free: 4.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.1505, allocations: 49.69 kB / 0.5096 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1507, allocations: 208.7 kB / 0.5098 GB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1508, allocations: 99.31 kB / 0.5099 GB, free: 3.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.151, allocations: 122.1 kB / 0.51 GB, free: 3.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1512, allocations: 346.7 kB / 0.5103 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1515, allocations: 120.9 kB / 0.5105 GB, free: 3.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.1519, allocations: 325.8 kB / 0.5108 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.1526, allocations: 484.4 kB / 0.5112 GB, free: 2.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/0.1526, allocations: 0 / 0.5112 GB, free: 2.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009085/0.1535, allocations: 485.5 kB / 0.5117 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1535, allocations: 8 kB / 0.5117 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1536, allocations: 12.03 kB / 0.5117 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1536, allocations: 8 kB / 0.5117 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1538, allocations: 79.83 kB / 0.5118 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.1539, allocations: 11.94 kB / 0.5118 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1541, allocations: 47.66 kB / 0.5119 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1541, allocations: 24 kB / 0.5119 GB, free: 1.566 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.0003333/0.1544, allocations: 243 kB / 0.5121 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.1545, allocations: 27.81 kB / 0.5121 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.155, allocations: 238.3 kB / 0.5124 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.155, allocations: 7.984 kB / 0.5124 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.155, allocations: 4 kB / 0.5124 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.155, allocations: 3.938 kB / 0.5124 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3062/0.4612, allocations: 0.9971 MB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.4612, allocations: 0 / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4613, allocations: 12.56 kB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4613, allocations: 2.781 kB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.4614, allocations: 15.14 kB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.4614, allocations: 4.312 kB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4614, allocations: 0.7188 kB / 0.5134 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4625, allocations: 0.6507 MB / 0.514 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4625, allocations: 38.17 kB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4626, allocations: 10.5 kB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4627, allocations: 10.44 kB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4628, allocations: 21.36 kB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.4628, allocations: 18.95 kB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.463, allocations: 149.8 kB / 0.5143 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.463, allocations: 0 / 0.5143 GB, free: 20.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.4637, allocations: 160.1 kB / 0.5144 GB, free: 20.75 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.001919/0.4656, allocations: 1.451 MB / 0.5158 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.4662, allocations: 348.8 kB / 0.5162 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4662, allocations: 0 / 0.5162 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4665, allocations: 149.3 kB / 0.5163 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.4671, allocations: 83.59 kB / 0.5164 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.4709, allocations: 3.504 MB / 0.5198 GB, free: 18.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4712, allocations: 0.8185 MB / 0.5206 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.4714, allocations: 55.72 kB / 0.5207 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4715, allocations: 123.1 kB / 0.5208 GB, free: 17.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4715, allocations: 0 / 0.5208 GB, free: 17.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.5134, allocations: 9.042 MB / 0.5296 GB, free: 16.04 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.4788802310358733] Failed to read output from testmodel.py, exit status != 0: 0.9293828499503434 0.950124685 0.805413197 Calling exit ...