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.00131/0.00131, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001515/0.001515, allocations: 221.5 kB / 23.05 MB, free: 4.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.06341/0.06341, allocations: 12.22 MB / 325.5 MB, free: 7.309 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="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 0.00288/0.00288, allocations: 67.89 kB / 453.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1427, allocations: 56.4 MB / 0.4978 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005509/0.1482, allocations: 3.229 MB / 0.501 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1504, allocations: 1.008 MB / 0.502 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1506, allocations: 19.81 kB / 0.502 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1509, allocations: 83.19 kB / 0.5021 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1511, allocations: 47.53 kB / 0.5021 GB, free: 12.15 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.001104/0.1522, allocations: 343 kB / 0.5024 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1528, allocations: 459.6 kB / 0.5029 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1532, allocations: 184.9 kB / 0.5031 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1534, allocations: 219.2 kB / 0.5033 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.1538, allocations: 258.9 kB / 0.5035 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.448e-05/0.1539, allocations: 48 kB / 0.5036 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.1542, allocations: 215.8 kB / 0.5038 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.1545, allocations: 163.5 kB / 0.5039 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1548, allocations: 254.5 kB / 0.5042 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.1557, allocations: 0.743 MB / 0.5049 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1557, allocations: 0 / 0.5049 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1557, allocations: 0 / 0.5049 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1557, allocations: 0 / 0.5049 GB, free: 9.297 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.002004/0.1577, allocations: 1.124 MB / 0.506 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1578, allocations: 8.031 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1579, allocations: 102.7 kB / 0.5061 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.158, allocations: 68.56 kB / 0.5062 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.1587, allocations: 330 kB / 0.5065 GB, free: 7.566 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.0001513/0.1588, allocations: 101 kB / 0.5066 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.1589, allocations: 55.94 kB / 0.5066 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.161, allocations: 1.314 MB / 0.5079 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1611, allocations: 3.984 kB / 0.5079 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.1611, allocations: 20 kB / 0.5079 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.1611, allocations: 16 kB / 0.5079 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.1618, allocations: 365.5 kB / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.1639, allocations: 2.111 MB / 0.5103 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1651, allocations: 0.7661 MB / 0.5111 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.1657, allocations: 422.8 kB / 0.5115 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.1658, allocations: 40.41 kB / 0.5115 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.1659, allocations: 54.94 kB / 0.5116 GB, free: 1.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 2.975e-06/0.1659, allocations: 0 / 0.5116 GB, free: 1.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001816/0.1677, allocations: 0.8904 MB / 0.5125 GB, free: 1.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/0.168, allocations: 363.6 kB / 0.5128 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.1683, allocations: 296.1 kB / 0.5131 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.1684, allocations: 49.62 kB / 0.5131 GB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1685, allocations: 201.5 kB / 0.5133 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.1686, allocations: 99.41 kB / 0.5134 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2167/0.3853, allocations: 146 kB / 0.5136 GB, free: 21.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3854, allocations: 364.9 kB / 0.5139 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3857, allocations: 161.9 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.3862, allocations: 0.6759 MB / 0.5147 GB, free: 20.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.3869, allocations: 0.9055 MB / 0.5156 GB, free: 19.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.387, allocations: 8.031 kB / 0.5156 GB, free: 19.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001161/0.3881, allocations: 0.8122 MB / 0.5164 GB, free: 19.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3881, allocations: 14.78 kB / 0.5164 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.3882, allocations: 18.69 kB / 0.5164 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.3882, allocations: 25.19 kB / 0.5165 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.3887, allocations: 177.7 kB / 0.5166 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/0.3887, allocations: 37.69 kB / 0.5167 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.3891, allocations: 73.52 kB / 0.5167 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.3891, allocations: 53.28 kB / 0.5168 GB, free: 19.44 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.0004101/0.3895, allocations: 285.5 kB / 0.5171 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/0.3905, allocations: 0.5149 MB / 0.5176 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.3917, allocations: 0.6756 MB / 0.5182 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.3918, allocations: 23.06 kB / 0.5182 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3918, allocations: 3.594 kB / 0.5183 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3918, allocations: 6.594 kB / 0.5183 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.3928, allocations: 454.5 kB / 0.5187 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.3928, allocations: 5.344 kB / 0.5187 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.3932, allocations: 117.2 kB / 0.5188 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.3932, allocations: 5.625 kB / 0.5188 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.3933, allocations: 27.2 kB / 0.5188 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.3933, allocations: 8.594 kB / 0.5188 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3933, allocations: 3.344 kB / 0.5189 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3951, allocations: 1.834 MB / 0.5206 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3951, allocations: 58.47 kB / 0.5207 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.3952, allocations: 28.81 kB / 0.5207 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.3957, allocations: 24.19 kB / 0.5207 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3957, allocations: 22.14 kB / 0.5208 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.3958, allocations: 35.31 kB / 0.5208 GB, free: 18.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3959, allocations: 197 kB / 0.521 GB, free: 18.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3959, allocations: 0 / 0.521 GB, free: 18.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001203/0.3971, allocations: 170.5 kB / 0.5212 GB, free: 18 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.00294/0.4001, allocations: 2.653 MB / 0.5237 GB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.4018, allocations: 1.314 MB / 0.525 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4018, allocations: 0 / 0.525 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.4023, allocations: 0.7878 MB / 0.5258 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.4051, allocations: 1.226 MB / 0.527 GB, free: 14.14 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.005503/0.4106, allocations: 3.996 MB / 0.5309 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.4112, allocations: 0.9286 MB / 0.5318 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.4115, allocations: 94.22 kB / 0.5319 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4117, allocations: 164.2 kB / 0.5321 GB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4117, allocations: 0 / 0.5321 GB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.4646, allocations: 13.31 MB / 0.5451 GB, free: 5.852 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: 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- 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.408323385003314] Failed to read output from testmodel.py, exit status != 0: 0.8833841720042983 0.895911298 0.737049634 Calling exit ...