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.001221/0.001221, 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.002059/0.002059, allocations: 174.3 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 1.006/1.006, 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.03688/0.03688, allocations: 9.138 MB / 269.1 MB, free: 4.48 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 397.8 MB, free: 488 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.077e-05, allocations: 11.2 kB / 397.8 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004047/0.004078, allocations: 3.14 MB / 401 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.005391, allocations: 0.9573 MB / 401.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.00555, allocations: 19.81 kB / 402 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.005829, allocations: 91.11 kB / 402 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.006011, allocations: 43.47 kB / 402.1 MB, free: 12.2 MB / 378.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.0006642/0.006675, allocations: 345.6 kB / 402.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.007043, allocations: 459.5 kB / 402.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.007309, allocations: 177 kB / 403 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.007528, allocations: 295.4 kB / 403.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.007758, allocations: 203.4 kB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.007827, allocations: 48 kB / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.008059, allocations: 219.5 kB / 403.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.008184, allocations: 163.5 kB / 404 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.008292, allocations: 147.6 kB / 404.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006415/0.008934, allocations: 0.7786 MB / 404.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.00894, allocations: 0 / 404.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008941, allocations: 0 / 404.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.008949, allocations: 0 / 404.9 MB, free: 9.398 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 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.001254/0.0102, allocations: 1.113 MB / 406 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.01025, allocations: 8.031 kB / 406 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.01033, allocations: 102.7 kB / 406.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.01042, allocations: 68.55 kB / 406.2 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.01077, allocations: 333.2 kB / 406.5 MB, free: 7.668 MB / 378.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.0001112/0.01088, allocations: 105 kB / 406.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.01094, allocations: 48.38 kB / 406.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.01229, allocations: 1.329 MB / 408 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.0123, allocations: 3.938 kB / 408 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.01234, allocations: 28 kB / 408 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.01238, allocations: 19.98 kB / 408 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.01277, allocations: 357.7 kB / 408.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.014, allocations: 2.022 MB / 410.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.01473, allocations: 0.7708 MB / 411.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.01509, allocations: 403 kB / 411.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/0.01519, allocations: 44.42 kB / 411.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.01522, allocations: 58.92 kB / 411.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.01522, allocations: 0 / 411.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.001095/0.01632, allocations: 0.8999 MB / 412.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.01647, allocations: 358.9 kB / 412.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.01668, allocations: 304 kB / 413.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.01671, allocations: 41.7 kB / 413.2 MB, free: 496 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01682, allocations: 197.5 kB / 413.4 MB, free: 292 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.01686, allocations: 79.34 kB / 413.5 MB, free: 212 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.01693, allocations: 81.67 kB / 413.6 MB, free: 124 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01709, allocations: 342.8 kB / 413.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.01719, allocations: 83.94 kB / 414 MB, free: 15.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.01736, allocations: 250.3 kB / 414.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.01765, allocations: 353.1 kB / 414.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.01765, allocations: 4 kB / 414.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003652/0.01802, allocations: 369.4 kB / 415 MB, free: 14.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01804, allocations: 10.91 kB / 415 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01805, allocations: 8 kB / 415 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.01807, allocations: 8 kB / 415 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01821, allocations: 59.91 kB / 415 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.01823, allocations: 11.94 kB / 415.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.01831, allocations: 27.78 kB / 415.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.01834, allocations: 20 kB / 415.1 MB, free: 14.44 MB / 394.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.0001895/0.01853, allocations: 235.7 kB / 415.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.0191, allocations: 0.5194 MB / 415.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.01983, allocations: 0.676 MB / 416.5 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.01985, allocations: 12 kB / 416.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01986, allocations: 4 kB / 416.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.01987, allocations: 7.984 kB / 416.6 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.02047, allocations: 392.1 kB / 416.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.02048, allocations: 4 kB / 416.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.02072, allocations: 123.8 kB / 417.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.02073, allocations: 4 kB / 417.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.02076, allocations: 28.14 kB / 417.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.02076, allocations: 8 kB / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.02077, allocations: 4 kB / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.02215, allocations: 1.824 MB / 418.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.0222, allocations: 63.42 kB / 419 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.02226, allocations: 28.03 kB / 419 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.02249, allocations: 16.06 kB / 419 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.02256, allocations: 27.91 kB / 419.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.02259, allocations: 35.92 kB / 419.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.02273, allocations: 199.1 kB / 419.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02273, allocations: 4 kB / 419.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000658/0.02339, allocations: 155.6 kB / 419.4 MB, free: 10.01 MB / 394.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.002572/0.02596, allocations: 2.659 MB / 422.1 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009188/0.02688, allocations: 1.123 MB / 423.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.02689, allocations: 0 / 423.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.02726, allocations: 0.7808 MB / 424 MB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.02897, allocations: 1.227 MB / 425.2 MB, free: 4.156 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1886:3-1886:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.03189, allocations: 2.696 MB / 427.9 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.03219, allocations: 333.3 kB / 428.3 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.03233, allocations: 71.59 kB / 428.3 MB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.03247, allocations: 156.4 kB / 428.5 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.03248, allocations: 0 / 428.5 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09044/0.1229, allocations: 12.98 MB / 441.5 MB, free: 3.824 MB / 410.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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:276 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- 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.630522672086954]