Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001677/0.001677, allocations: 105.8 kB / 19.74 MB, free: 2.004 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.002024/0.002024, allocations: 223.5 kB / 23.05 MB, free: 4.977 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.06525/0.06525, allocations: 12.22 MB / 325.5 MB, free: 7.223 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 453.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 56.4 MB / 0.4978 GB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004801/0.1319, allocations: 2.403 MB / 0.5002 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1339, allocations: 0.9692 MB / 0.5011 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1341, allocations: 19.81 kB / 0.5011 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1344, allocations: 83.14 kB / 0.5012 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1347, allocations: 59.52 kB / 0.5013 GB, free: 12.94 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.001089/0.1357, allocations: 334.1 kB / 0.5016 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.1362, allocations: 391.8 kB / 0.502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.1366, allocations: 167.8 kB / 0.5021 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1368, allocations: 195.2 kB / 0.5023 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.1372, allocations: 223 kB / 0.5025 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.1372, allocations: 44 kB / 0.5026 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.1376, allocations: 215.8 kB / 0.5028 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1378, allocations: 151.6 kB / 0.5029 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.138, allocations: 218.7 kB / 0.5031 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.1389, allocations: 0.6536 MB / 0.5038 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1389, allocations: 3.938 kB / 0.5038 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1389, allocations: 0 / 0.5038 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1389, allocations: 0 / 0.5038 GB, free: 10.37 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001821/0.1407, allocations: 1.039 MB / 0.5048 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1408, allocations: 8.031 kB / 0.5048 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.1409, allocations: 90.7 kB / 0.5049 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.141, allocations: 56.66 kB / 0.5049 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.1415, allocations: 274.3 kB / 0.5052 GB, free: 8.809 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.0001332/0.1416, allocations: 92.97 kB / 0.5053 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.1417, allocations: 44.38 kB / 0.5053 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.1437, allocations: 1.156 MB / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1437, allocations: 11.92 kB / 0.5065 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.1438, allocations: 23.98 kB / 0.5065 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.1438, allocations: 16 kB / 0.5065 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.1444, allocations: 307.9 kB / 0.5068 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1462, allocations: 1.342 MB / 0.5081 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1473, allocations: 0.6907 MB / 0.5088 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.1479, allocations: 376.4 kB / 0.5091 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.148, allocations: 43.97 kB / 0.5092 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.1483, allocations: 166.1 kB / 0.5093 GB, free: 4.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.1483, allocations: 0 / 0.5093 GB, free: 4.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001553/0.1498, allocations: 0.825 MB / 0.5101 GB, free: 3.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002597/0.1501, allocations: 318.7 kB / 0.5105 GB, free: 3.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1504, allocations: 231 kB / 0.5107 GB, free: 2.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.1504, allocations: 41.7 kB / 0.5107 GB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1506, allocations: 161.7 kB / 0.5109 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.1507, allocations: 79.59 kB / 0.5109 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.1508, allocations: 138.7 kB / 0.5111 GB, free: 2.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.151, allocations: 350.8 kB / 0.5114 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.1513, allocations: 117.9 kB / 0.5115 GB, free: 1.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.1519, allocations: 0.5742 MB / 0.5121 GB, free: 1.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.1529, allocations: 0.772 MB / 0.5128 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.1529, allocations: 4 kB / 0.5128 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.2836/0.4365, allocations: 0.6717 MB / 0.5135 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.4366, allocations: 15.28 kB / 0.5135 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.4366, allocations: 17.81 kB / 0.5135 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/0.4366, allocations: 23.88 kB / 0.5135 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.4371, allocations: 146.6 kB / 0.5137 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/0.4371, allocations: 32.28 kB / 0.5137 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.4374, allocations: 74.03 kB / 0.5138 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.4375, allocations: 44.39 kB / 0.5138 GB, free: 20.91 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0004715/0.438, allocations: 262.5 kB / 0.5141 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007911/0.4387, allocations: 487.3 kB / 0.5145 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.4396, allocations: 474.2 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.4396, allocations: 13.09 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4396, allocations: 4.906 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4396, allocations: 8.406 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.4403, allocations: 0.606 MB / 0.5156 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.4404, allocations: 10.19 kB / 0.5156 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.4407, allocations: 102.7 kB / 0.5157 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4407, allocations: 3.375 kB / 0.5157 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.4407, allocations: 22.98 kB / 0.5157 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4407, allocations: 8.344 kB / 0.5158 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4407, allocations: 3.469 kB / 0.5158 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4418, allocations: 0.7947 MB / 0.5165 GB, free: 20.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.4418, allocations: 57.2 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4419, allocations: 23.08 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.442, allocations: 12.84 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.4421, allocations: 22.59 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.4422, allocations: 37.39 kB / 0.5167 GB, free: 20.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.4423, allocations: 143.9 kB / 0.5168 GB, free: 20.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4423, allocations: 0 / 0.5168 GB, free: 20.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007724/0.4431, allocations: 162.4 kB / 0.517 GB, free: 20.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,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,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * 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.002612/0.4457, allocations: 1.923 MB / 0.5189 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4471, allocations: 1.225 MB / 0.52 GB, free: 18.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4471, allocations: 0 / 0.52 GB, free: 18.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4475, allocations: 0.7672 MB / 0.5208 GB, free: 17.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.449, allocations: 1.191 MB / 0.522 GB, free: 17.01 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.004252/0.4532, allocations: 3.29 MB / 0.5252 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4537, allocations: 0.8892 MB / 0.526 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.4539, allocations: 59.31 kB / 0.5261 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.454, allocations: 138.1 kB / 0.5262 GB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.454, allocations: 0 / 0.5262 GB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.4999, allocations: 11.62 MB / 0.5376 GB, free: 10.9 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '117.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_UDPWithoutReceiveThread/117.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_UDPWithoutReceiveThread/117.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 \"117\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.5551599399987026] Failed to read output from testmodel.py, exit status != 0: 0.9126491770002758 0.936555275 0.793644954 Calling exit ...