Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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.0007285/0.0007285, allocations: 80.44 kB / 19.97 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.0007685/0.0007685, allocations: 173.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.8983/0.8983, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.03404/0.03404, allocations: 9.137 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.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 397 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.986e-05, allocations: 2.281 kB / 397 MB, free: 72 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003667/0.003686, allocations: 3.144 MB / 400.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004984, allocations: 0.9534 MB / 401.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.005123, allocations: 19.81 kB / 401.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.005358, allocations: 87.12 kB / 401.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.005546, allocations: 43.47 kB / 401.3 MB, free: 11.8 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.00613, allocations: 349.6 kB / 401.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.006523, allocations: 459.5 kB / 402.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.006802, allocations: 185 kB / 402.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.007043, allocations: 299.3 kB / 402.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.007277, allocations: 203.4 kB / 402.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.007328, allocations: 44 kB / 402.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.007552, allocations: 207.7 kB / 403 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.007686, allocations: 167.4 kB / 403.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.007802, allocations: 147.5 kB / 403.3 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.008819, allocations: 0.7785 MB / 404.1 MB, free: 9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.008822, allocations: 4 kB / 404.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008823, allocations: 0 / 404.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.008829, allocations: 0 / 404.1 MB, free: 8.996 MB / 330.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 getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001257/0.01009, allocations: 1.117 MB / 405.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.01012, allocations: 8.031 kB / 405.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.01019, allocations: 98.7 kB / 405.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.01027, allocations: 68.52 kB / 405.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.01063, allocations: 325.3 kB / 405.7 MB, free: 7.281 MB / 330.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.01074, allocations: 108.9 kB / 405.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.01079, allocations: 52.38 kB / 405.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.01218, allocations: 1.335 MB / 407.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.0122, allocations: 3.938 kB / 407.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.01224, allocations: 27.94 kB / 407.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.01227, allocations: 19.98 kB / 407.2 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.01272, allocations: 357.7 kB / 407.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01421, allocations: 2.022 MB / 409.6 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.01527, allocations: 0.7747 MB / 410.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.01564, allocations: 403 kB / 410.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/0.01573, allocations: 52.34 kB / 410.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.01577, allocations: 51 kB / 410.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 1.974e-06/0.01577, allocations: 0 / 410.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.001093/0.01686, allocations: 0.8999 MB / 411.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.01702, allocations: 358.7 kB / 412.1 MB, free: 444 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.01725, allocations: 300 kB / 412.4 MB, free: 132 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.01728, allocations: 41.7 kB / 412.5 MB, free: 84 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1559/0.1732, allocations: 193.2 kB / 412.7 MB, free: 27.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1733, allocations: 76.16 kB / 412.7 MB, free: 27.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.1734, allocations: 86.05 kB / 412.8 MB, free: 27.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.1735, allocations: 340.7 kB / 413.1 MB, free: 26.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1736, allocations: 87.97 kB / 413.2 MB, free: 26.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1737, allocations: 251.6 kB / 413.5 MB, free: 26.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.174, allocations: 349.8 kB / 413.8 MB, free: 26.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.174, allocations: 2.062 kB / 413.8 MB, free: 26.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004441/0.1744, allocations: 372.9 kB / 414.2 MB, free: 26.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1745, allocations: 6.75 kB / 414.2 MB, free: 26.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1745, allocations: 6.5 kB / 414.2 MB, free: 26.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1745, allocations: 7.75 kB / 414.2 MB, free: 26.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1746, allocations: 63.61 kB / 414.3 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1746, allocations: 9.078 kB / 414.3 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.471e-05/0.1747, allocations: 27.44 kB / 414.3 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1748, allocations: 21.14 kB / 414.3 MB, free: 26.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.175, allocations: 233.8 kB / 414.6 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/0.1756, allocations: 0.512 MB / 415.1 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.1763, allocations: 0.6738 MB / 415.7 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.1764, allocations: 19.95 kB / 415.8 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.1764, allocations: 4.594 kB / 415.8 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1764, allocations: 6.031 kB / 415.8 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.177, allocations: 390.5 kB / 416.1 MB, free: 25.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.177, allocations: 5.078 kB / 416.2 MB, free: 25.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1772, allocations: 117.4 kB / 416.3 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1772, allocations: 6.156 kB / 416.3 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.1773, allocations: 26.14 kB / 416.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1773, allocations: 10.17 kB / 416.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1773, allocations: 6.719 kB / 416.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1784, allocations: 1.832 MB / 418.1 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1785, allocations: 65.27 kB / 418.2 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1785, allocations: 23.17 kB / 418.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.1788, allocations: 25.09 kB / 418.3 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1788, allocations: 23.39 kB / 418.3 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.1789, allocations: 29.98 kB / 418.3 MB, free: 24.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.179, allocations: 201.6 kB / 418.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.179, allocations: 0 / 418.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006042/0.1796, allocations: 147.1 kB / 418.7 MB, free: 24.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.001717/0.1813, allocations: 2.666 MB / 421.3 MB, free: 22.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.182, allocations: 1.12 MB / 422.4 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.182, allocations: 1.375 kB / 422.4 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1822, allocations: 0.7872 MB / 423.2 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.1836, allocations: 1.221 MB / 424.4 MB, free: 19.88 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.1865, allocations: 2.698 MB / 427.1 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.187, allocations: 331.6 kB / 427.5 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.1872, allocations: 68.8 kB / 427.5 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1874, allocations: 157 kB / 427.7 MB, free: 17.99 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1874, allocations: 0 / 427.7 MB, free: 17.99 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.2164, allocations: 12.88 MB / 440.6 MB, free: 11.36 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '885.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.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- 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: pthread linked by target \"885\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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: 2.0540474876761436] Failed to read output from testmodel.py, exit status != 0: 0.4292632080614567 0.43600951600000004 0.42548970900000005 Calling exit ...