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.0007525/0.0007525, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008172/0.0008172, allocations: 177.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.8791/0.8791, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.03524/0.03524, allocations: 9.14 MB / 269.1 MB, free: 4.473 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.553e-06/1.553e-06, allocations: 0 / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.558e-05, allocations: 6.219 kB / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.003892/0.003917, allocations: 2.98 MB / 400 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005409, allocations: 0.8482 MB / 400.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.005578, allocations: 11.88 kB / 400.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.005885, allocations: 95.06 kB / 401 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.006089, allocations: 63.39 kB / 401.1 MB, free: 13.23 MB / 378.7 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.0005449/0.006634, allocations: 298.9 kB / 401.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.006975, allocations: 418.8 kB / 401.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.007237, allocations: 131.7 kB / 401.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.007487, allocations: 287.4 kB / 402.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.007736, allocations: 183.5 kB / 402.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.007792, allocations: 44 kB / 402.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.008366, allocations: 207.6 kB / 402.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.008494, allocations: 151.5 kB / 402.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.008595, allocations: 139.6 kB / 402.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.00913, allocations: 0.7008 MB / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.009134, allocations: 0 / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.009135, allocations: 8 kB / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.009142, allocations: 0 / 403.6 MB, free: 10.7 MB / 378.7 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.001231/0.01037, allocations: 1.083 MB / 404.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01041, allocations: 8.031 kB / 404.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.01047, allocations: 82.7 kB / 404.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.01054, allocations: 52.61 kB / 404.8 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.01078, allocations: 268.9 kB / 405.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.0108, allocations: 33.36 kB / 405.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.01084, allocations: 36.38 kB / 405.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.01134, allocations: 484 kB / 405.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01135, allocations: 8.125 kB / 405.6 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.01137, allocations: 20.36 kB / 405.6 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01139, allocations: 12.12 kB / 405.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.01169, allocations: 267.6 kB / 405.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.0127, allocations: 1.23 MB / 407.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.01307, allocations: 278.3 kB / 407.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.01321, allocations: 143.3 kB / 407.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.01324, allocations: 4 kB / 407.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.01347, allocations: 264.7 kB / 407.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.392e-06/0.01347, allocations: 0 / 407.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.000661/0.01413, allocations: 0.5826 MB / 408.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.0142, allocations: 156.5 kB / 408.5 MB, free: 5.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.01438, allocations: 273.5 kB / 408.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01441, allocations: 41.7 kB / 408.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.0145, allocations: 216.7 kB / 409.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.01456, allocations: 107.2 kB / 409.2 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.01466, allocations: 118.2 kB / 409.3 MB, free: 4.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.01498, allocations: 346.7 kB / 409.6 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01511, allocations: 120.9 kB / 409.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.01531, allocations: 317.8 kB / 410.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.01568, allocations: 484.4 kB / 410.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01568, allocations: 0 / 410.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004666/0.01615, allocations: 492.9 kB / 411 MB, free: 2.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01616, allocations: 11.94 kB / 411 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01617, allocations: 4 kB / 411 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.01619, allocations: 12 kB / 411 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01633, allocations: 75.83 kB / 411.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01633, allocations: 12.59 kB / 411.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.01643, allocations: 39.73 kB / 411.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.01645, allocations: 31.98 kB / 411.2 MB, free: 2.539 MB / 378.7 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.0001656/0.01661, allocations: 239.4 kB / 411.4 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.01665, allocations: 35.8 kB / 411.5 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.01691, allocations: 231.4 kB / 411.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.01691, allocations: 8 kB / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01692, allocations: 0 / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.01693, allocations: 7.984 kB / 411.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.01774, allocations: 0.9579 MB / 412.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.01774, allocations: 7.938 kB / 412.7 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.01777, allocations: 15.98 kB / 412.7 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01778, allocations: 4 kB / 412.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01779, allocations: 7.984 kB / 412.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.0178, allocations: 4 kB / 412.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.0178, allocations: 0 / 412.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.0183, allocations: 0.665 MB / 413.4 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.01833, allocations: 35.67 kB / 413.4 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.01835, allocations: 11.98 kB / 413.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.01843, allocations: 4.062 kB / 413.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.01847, allocations: 31.89 kB / 413.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.01849, allocations: 19.98 kB / 413.5 MB, free: 184 kB / 378.7 MB Notification: Performance of sorting global known variables: time 8.123e-05/0.01857, allocations: 153.2 kB / 413.6 MB, free: 36 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01857, allocations: 0 / 413.6 MB, free: 36 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.01897, allocations: 155.5 kB / 413.8 MB, free: 15.88 MB / 394.7 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.001232/0.0202, allocations: 1.479 MB / 415.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.0206, allocations: 343.5 kB / 415.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02061, allocations: 192 / 415.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.02076, allocations: 152.8 kB / 415.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.02114, allocations: 84.38 kB / 415.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.02418, allocations: 3.497 MB / 419.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.02433, allocations: 219 kB / 419.5 MB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.02443, allocations: 59.09 kB / 419.6 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.02454, allocations: 120.5 kB / 419.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02454, allocations: 0 / 419.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.04919, allocations: 9.731 MB / 429.4 MB, free: 120 kB / 394.7 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources/fmi -- 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/jenkins/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 (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources pthread linked by target \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8548649121075869] Failed to read output from testmodel.py, exit status != 0: 0.25603713747113943 0.265988681 0.254844099 Calling exit ...