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.001766/0.001766, allocations: 101 kB / 20.52 MB, free: 1.449 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.002334/0.002334, allocations: 213.6 kB / 23.84 MB, free: 4.664 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.567/1.567, allocations: 230.6 MB / 257.6 MB, free: 8 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.06479/0.06479, allocations: 12.22 MB / 326.2 MB, free: 7.293 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.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 67.91 kB / 454.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 56.4 MB / 0.4986 GB, free: 0.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005686/0.1376, allocations: 3.233 MB / 0.5017 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1399, allocations: 1.008 MB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1401, allocations: 15.88 kB / 0.5027 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1405, allocations: 87.17 kB / 0.5028 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1407, allocations: 43.53 kB / 0.5029 GB, free: 12.14 MB / 382.1 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.001153/0.1419, allocations: 333.8 kB / 0.5032 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.1425, allocations: 463.6 kB / 0.5036 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.1429, allocations: 180.9 kB / 0.5038 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1432, allocations: 223.2 kB / 0.504 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.1436, allocations: 258.9 kB / 0.5043 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.1437, allocations: 51.94 kB / 0.5043 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1441, allocations: 215.8 kB / 0.5045 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.1443, allocations: 163.5 kB / 0.5047 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.1445, allocations: 250.5 kB / 0.5049 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.1454, allocations: 0.743 MB / 0.5056 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1454, allocations: 0 / 0.5056 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1454, allocations: 0 / 0.5056 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.1454, allocations: 4 kB / 0.5056 GB, free: 9.289 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 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.002056/0.1475, allocations: 1.124 MB / 0.5067 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1475, allocations: 8.031 kB / 0.5067 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.191e-05/0.1476, allocations: 13.19 kB / 0.5068 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.1477, allocations: 102.7 kB / 0.5069 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1479, allocations: 72.55 kB / 0.5069 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.1484, allocations: 334 kB / 0.5072 GB, free: 7.539 MB / 382.1 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.0001467/0.1486, allocations: 108.7 kB / 0.5074 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.1487, allocations: 48 kB / 0.5074 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.1508, allocations: 1.303 MB / 0.5087 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1508, allocations: 3.938 kB / 0.5087 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1509, allocations: 23.98 kB / 0.5087 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.1509, allocations: 19.98 kB / 0.5087 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1516, allocations: 369.5 kB / 0.5091 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.154, allocations: 2.111 MB / 0.5111 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1553, allocations: 0.7738 MB / 0.5119 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.156, allocations: 407 kB / 0.5123 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1561, allocations: 44.41 kB / 0.5123 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.493e-05/0.1562, allocations: 54.92 kB / 0.5124 GB, free: 1.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.487e-06/0.1562, allocations: 0 / 0.5124 GB, free: 1.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001874/0.1581, allocations: 0.8985 MB / 0.5132 GB, free: 1.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000288/0.1583, allocations: 358.5 kB / 0.5136 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.1587, allocations: 300.9 kB / 0.5139 GB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.1588, allocations: 37.7 kB / 0.5139 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.159, allocations: 205.5 kB / 0.5141 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2505/0.4094, allocations: 95.45 kB / 0.5142 GB, free: 21.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.4097, allocations: 154.1 kB / 0.5143 GB, free: 21.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4098, allocations: 363 kB / 0.5147 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.4102, allocations: 162.3 kB / 0.5148 GB, free: 20.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.4106, allocations: 0.6798 MB / 0.5155 GB, free: 20.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.4114, allocations: 0.9011 MB / 0.5164 GB, free: 19.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.4114, allocations: 6.156 kB / 0.5164 GB, free: 19.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001182/0.4126, allocations: 0.8117 MB / 0.5172 GB, free: 19.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.4126, allocations: 12.72 kB / 0.5172 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.4126, allocations: 19.47 kB / 0.5172 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/0.4126, allocations: 27.97 kB / 0.5172 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.4132, allocations: 177.5 kB / 0.5174 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/0.4132, allocations: 40.11 kB / 0.5175 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.4137, allocations: 75.36 kB / 0.5175 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.4137, allocations: 46.19 kB / 0.5176 GB, free: 19.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.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 (98): * Single equations (assignments): 97 * 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.0004431/0.4142, allocations: 285 kB / 0.5178 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009261/0.4151, allocations: 0.5182 MB / 0.5183 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4162, allocations: 0.6797 MB / 0.519 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.4162, allocations: 15.91 kB / 0.519 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4163, allocations: 6.188 kB / 0.519 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4163, allocations: 3.938 kB / 0.519 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.4172, allocations: 450.2 kB / 0.5195 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.4173, allocations: 4.688 kB / 0.5195 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.4177, allocations: 126.2 kB / 0.5196 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.4177, allocations: 6.469 kB / 0.5196 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.4177, allocations: 24.52 kB / 0.5196 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.4177, allocations: 13.12 kB / 0.5196 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4177, allocations: 2.312 kB / 0.5196 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4196, allocations: 1.83 MB / 0.5214 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.4197, allocations: 61.22 kB / 0.5215 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.4198, allocations: 28.77 kB / 0.5215 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.4203, allocations: 23.84 kB / 0.5215 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.4203, allocations: 24.67 kB / 0.5216 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.4204, allocations: 28.05 kB / 0.5216 GB, free: 18.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.4206, allocations: 201.3 kB / 0.5218 GB, free: 18 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4206, allocations: 0 / 0.5218 GB, free: 18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001229/0.4218, allocations: 172.7 kB / 0.5219 GB, free: 17.98 MB / 382.1 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.00293/0.4248, allocations: 2.658 MB / 0.5245 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.4264, allocations: 1.308 MB / 0.5258 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4264, allocations: 4.062 kB / 0.5258 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.4268, allocations: 0.781 MB / 0.5266 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.429, allocations: 1.23 MB / 0.5278 GB, free: 14.11 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.4343, allocations: 4.004 MB / 0.5317 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4348, allocations: 0.9292 MB / 0.5326 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.4351, allocations: 93.56 kB / 0.5327 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.4353, allocations: 164 kB / 0.5328 GB, free: 10.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4353, allocations: 0 / 0.5328 GB, free: 10.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04688/0.4822, allocations: 13.34 MB / 0.5459 GB, free: 5.797 MB / 382.1 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 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.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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: pthread linked by target \"885\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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.547938752977643] Failed to read output from testmodel.py, exit status != 0: 0.932025236019399 0.958071259 0.807779337 Calling exit ...