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.001745/0.001745, allocations: 104.3 kB / 19.74 MB, free: 1.902 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.002066/0.002066, allocations: 214.7 kB / 23.03 MB, free: 4.988 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.06463/0.06463, allocations: 12.23 MB / 325.4 MB, free: 7.027 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.002084/0.002084, allocations: 59.91 kB / 453.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 56.4 MB / 0.4977 GB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005142/0.1336, allocations: 2.331 MB / 0.5 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1357, allocations: 0.9147 MB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1359, allocations: 15.88 kB / 0.5009 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1362, allocations: 83.19 kB / 0.501 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.1365, allocations: 59.53 kB / 0.5011 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.001074/0.1375, allocations: 329.6 kB / 0.5014 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.138, allocations: 387.8 kB / 0.5017 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.1384, allocations: 159.8 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1386, allocations: 195.2 kB / 0.5021 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1389, allocations: 207 kB / 0.5023 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.139, allocations: 40 kB / 0.5023 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.1393, allocations: 203.8 kB / 0.5025 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1395, allocations: 151.6 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1397, allocations: 163 kB / 0.5028 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.1405, allocations: 0.6808 MB / 0.5035 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1405, allocations: 0 / 0.5035 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1405, allocations: 3.938 kB / 0.5035 GB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1405, allocations: 0 / 0.5035 GB, free: 10.45 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.001834/0.1424, allocations: 1.031 MB / 0.5045 GB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1424, allocations: 12.02 kB / 0.5045 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1425, allocations: 90.7 kB / 0.5046 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.1427, allocations: 52.66 kB / 0.5046 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.1431, allocations: 270.4 kB / 0.5049 GB, free: 8.895 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.0001454/0.1433, allocations: 100.9 kB / 0.505 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.1433, allocations: 44.38 kB / 0.505 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.1453, allocations: 1.185 MB / 0.5062 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1454, allocations: 4 kB / 0.5062 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.1454, allocations: 16 kB / 0.5062 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.1455, allocations: 16 kB / 0.5062 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.1461, allocations: 308 kB / 0.5065 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1478, allocations: 1.272 MB / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.149, allocations: 0.6952 MB / 0.5084 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.1496, allocations: 372.8 kB / 0.5088 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1497, allocations: 39.98 kB / 0.5088 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.1501, allocations: 199.8 kB / 0.509 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.1501, allocations: 0 / 0.509 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001622/0.1517, allocations: 0.8152 MB / 0.5098 GB, free: 3.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.1519, allocations: 322.7 kB / 0.5101 GB, free: 3.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.1522, allocations: 231 kB / 0.5103 GB, free: 2.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.1523, allocations: 41.69 kB / 0.5104 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1524, allocations: 165.7 kB / 0.5105 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.1525, allocations: 75.61 kB / 0.5106 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1527, allocations: 134.7 kB / 0.5107 GB, free: 2.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1529, allocations: 350.8 kB / 0.5111 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1531, allocations: 133.8 kB / 0.5112 GB, free: 1.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.1537, allocations: 0.5742 MB / 0.5118 GB, free: 1.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.1548, allocations: 0.772 MB / 0.5125 GB, free: 196 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.1548, allocations: 4 kB / 0.5125 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.2977/0.4524, allocations: 0.6739 MB / 0.5132 GB, free: 20.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.4525, allocations: 13.69 kB / 0.5132 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.4525, allocations: 19.69 kB / 0.5132 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.327e-05/0.4525, allocations: 23.59 kB / 0.5132 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.4529, allocations: 149 kB / 0.5134 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/0.4529, allocations: 35.36 kB / 0.5134 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.4532, allocations: 57.27 kB / 0.5135 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.4533, allocations: 51.05 kB / 0.5135 GB, free: 20.87 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.0003713/0.4536, allocations: 255.7 kB / 0.5138 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/0.4544, allocations: 494 kB / 0.5142 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.4552, allocations: 468.8 kB / 0.5147 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/0.4552, allocations: 15.59 kB / 0.5147 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4552, allocations: 5.859 kB / 0.5147 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4552, allocations: 5.109 kB / 0.5147 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.4559, allocations: 0.551 MB / 0.5152 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.4559, allocations: 10.52 kB / 0.5153 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4562, allocations: 102.4 kB / 0.5153 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4562, allocations: 4.109 kB / 0.5154 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.4563, allocations: 24.06 kB / 0.5154 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.4563, allocations: 13.86 kB / 0.5154 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4563, allocations: 0 / 0.5154 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.4571, allocations: 0.7874 MB / 0.5162 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.4572, allocations: 56.28 kB / 0.5162 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.4573, allocations: 17.44 kB / 0.5162 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4574, allocations: 19.47 kB / 0.5162 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.4575, allocations: 21.03 kB / 0.5163 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.4575, allocations: 34.2 kB / 0.5163 GB, free: 20.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4576, allocations: 150.7 kB / 0.5164 GB, free: 20 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4576, allocations: 0 / 0.5164 GB, free: 20 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.4583, allocations: 160.7 kB / 0.5166 GB, free: 19.99 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.002328/0.4606, allocations: 1.941 MB / 0.5185 GB, free: 19.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4617, allocations: 1.231 MB / 0.5197 GB, free: 18.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4617, allocations: 0 / 0.5197 GB, free: 18.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.462, allocations: 0.7631 MB / 0.5204 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4634, allocations: 1.198 MB / 0.5216 GB, free: 16.91 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.4671, allocations: 3.278 MB / 0.5248 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.4674, allocations: 284.7 kB / 0.5251 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.4676, allocations: 60.09 kB / 0.5251 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4678, allocations: 134.2 kB / 0.5253 GB, free: 14.7 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4678, allocations: 0 / 0.5253 GB, free: 14.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.5127, allocations: 11.85 MB / 0.5368 GB, free: 11.27 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.5572415650822222] Failed to read output from testmodel.py, exit status != 0: 0.9703680202364922 0.990638253 0.846769586 Calling exit ...