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.001845/0.001845, allocations: 118.9 kB / 17.88 MB, free: 5.07 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.002317/0.002317, allocations: 212.5 kB / 20.84 MB, free: 2.125 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.608/1.608, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.06397/0.06397, allocations: 12.23 MB / 322.5 MB, free: 13.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 70.42 kB / 448.8 MB, free: 38.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 56.37 MB / 0.4933 GB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004382/0.1337, allocations: 2.303 MB / 0.4956 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1363, allocations: 0.9614 MB / 0.4965 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.1366, allocations: 15.88 kB / 0.4965 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.137, allocations: 87.17 kB / 0.4966 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.1374, allocations: 51.53 kB / 0.4967 GB, free: 14.36 MB / 366.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.001382/0.1388, allocations: 323.2 kB / 0.497 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.1394, allocations: 391.8 kB / 0.4974 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.1399, allocations: 199.3 kB / 0.4975 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.1401, allocations: 195.3 kB / 0.4977 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.1406, allocations: 227 kB / 0.4979 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.1406, allocations: 44 kB / 0.498 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.1411, allocations: 199.8 kB / 0.4982 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.1414, allocations: 151.5 kB / 0.4983 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.1416, allocations: 210.7 kB / 0.4985 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1427, allocations: 0.6613 MB / 0.4992 GB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1427, allocations: 0 / 0.4992 GB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1427, allocations: 0 / 0.4992 GB, free: 11.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1427, allocations: 4 kB / 0.4992 GB, free: 11.79 MB / 366.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.00207/0.1448, allocations: 1.118 MB / 0.5003 GB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1448, allocations: 8.031 kB / 0.5003 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.52e-05/0.1449, allocations: 13.19 kB / 0.5003 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.145, allocations: 86.7 kB / 0.5004 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1451, allocations: 56.59 kB / 0.5004 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.1456, allocations: 347.4 kB / 0.5008 GB, free: 10.03 MB / 366.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.0001507/0.1457, allocations: 96.95 kB / 0.5008 GB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.1458, allocations: 48.12 kB / 0.5009 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.1481, allocations: 1.152 MB / 0.502 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1481, allocations: 0 / 0.502 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.1481, allocations: 20 kB / 0.502 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.1482, allocations: 16 kB / 0.5021 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.1488, allocations: 310 kB / 0.5023 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1505, allocations: 1.374 MB / 0.5037 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1521, allocations: 1.313 MB / 0.505 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.1527, allocations: 362.2 kB / 0.5053 GB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1529, allocations: 51.95 kB / 0.5054 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1532, allocations: 174.1 kB / 0.5055 GB, free: 4.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.505e-06/0.1532, allocations: 0 / 0.5055 GB, free: 4.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001598/0.1548, allocations: 0.8146 MB / 0.5063 GB, free: 3.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002793/0.155, allocations: 327.4 kB / 0.5066 GB, free: 3.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1553, allocations: 223 kB / 0.5069 GB, free: 3.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.1554, allocations: 45.69 kB / 0.5069 GB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1555, allocations: 161.6 kB / 0.5071 GB, free: 3.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/0.1556, allocations: 79.61 kB / 0.5071 GB, free: 2.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.1558, allocations: 134.7 kB / 0.5073 GB, free: 2.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.1561, allocations: 350.8 kB / 0.5076 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1563, allocations: 125.9 kB / 0.5077 GB, free: 2.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.157, allocations: 0.5742 MB / 0.5083 GB, free: 1.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1581, allocations: 0.7681 MB / 0.509 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.1581, allocations: 8 kB / 0.509 GB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001112/0.1592, allocations: 0.6774 MB / 0.5097 GB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.1592, allocations: 16.12 kB / 0.5097 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1593, allocations: 23.98 kB / 0.5097 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.1593, allocations: 20.28 kB / 0.5097 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.1597, allocations: 147.7 kB / 0.5099 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-05/0.1598, allocations: 35.86 kB / 0.5099 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.1601, allocations: 59.88 kB / 0.51 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.1602, allocations: 52 kB / 0.51 GB, free: 15.51 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.0004471/0.1606, allocations: 261.3 kB / 0.5103 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/0.1615, allocations: 0.4901 MB / 0.5108 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/0.1624, allocations: 463.4 kB / 0.5112 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.1625, allocations: 12 kB / 0.5112 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.1625, allocations: 4 kB / 0.5112 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1625, allocations: 3.984 kB / 0.5112 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/0.1634, allocations: 0.6386 MB / 0.5118 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.1634, allocations: 4 kB / 0.5118 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.1638, allocations: 107.8 kB / 0.5119 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.1638, allocations: 4 kB / 0.512 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.1639, allocations: 16 kB / 0.512 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.1639, allocations: 8 kB / 0.512 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1639, allocations: 0 / 0.512 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1651, allocations: 0.7968 MB / 0.5128 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.1652, allocations: 128.7 kB / 0.5129 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.1653, allocations: 27.94 kB / 0.5129 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1654, allocations: 20 kB / 0.5129 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.1655, allocations: 27.84 kB / 0.5129 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.1656, allocations: 24 kB / 0.513 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1658, allocations: 147.2 kB / 0.5131 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1658, allocations: 0 / 0.5131 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009431/0.1667, allocations: 155.7 kB / 0.5133 GB, free: 12.06 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.00346/0.1702, allocations: 1.922 MB / 0.5151 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.1719, allocations: 1.215 MB / 0.5163 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1719, allocations: 4.062 kB / 0.5163 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.1725, allocations: 0.7686 MB / 0.5171 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.1746, allocations: 1.182 MB / 0.5182 GB, free: 6.898 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.005292/0.1799, allocations: 3.295 MB / 0.5215 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.1805, allocations: 0.8831 MB / 0.5223 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.1808, allocations: 60.2 kB / 0.5224 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.181, allocations: 135.4 kB / 0.5225 GB, free: 1.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.181, allocations: 0 / 0.5225 GB, free: 1.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.2164, allocations: 11.05 MB / 0.5333 GB, free: 7.105 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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.5532656050054356] Failed to read output from testmodel.py, exit status != 0: 0.6714205570169725 0.692833288 0.546122701 Calling exit ...