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.001245/0.001245, allocations: 105 kB / 20.53 MB, free: 1.43 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.001418/0.001418, allocations: 209.5 kB / 23.83 MB, free: 4.641 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.501/1.501, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.06571/0.06571, allocations: 12.22 MB / 326.2 MB, free: 7.258 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.001973/0.001973, allocations: 63.84 kB / 454.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 56.39 MB / 0.4986 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004521/0.1258, allocations: 2.409 MB / 0.5009 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1279, allocations: 0.9692 MB / 0.5019 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1281, allocations: 15.88 kB / 0.5019 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1284, allocations: 87.19 kB / 0.502 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1286, allocations: 59.45 kB / 0.502 GB, free: 12.98 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.001143/0.1298, allocations: 329.5 kB / 0.5024 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.1303, allocations: 387.8 kB / 0.5027 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.1307, allocations: 171.8 kB / 0.5029 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1309, allocations: 195.3 kB / 0.5031 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.1313, allocations: 227 kB / 0.5033 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.1313, allocations: 40 kB / 0.5033 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.1317, allocations: 215.8 kB / 0.5035 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1319, allocations: 151.6 kB / 0.5037 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1321, allocations: 206.8 kB / 0.5039 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.1331, allocations: 0.669 MB / 0.5045 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1331, allocations: 4 kB / 0.5045 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1331, allocations: 0 / 0.5045 GB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1331, allocations: 0 / 0.5045 GB, free: 10.41 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.001825/0.1349, allocations: 1.035 MB / 0.5055 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.135, allocations: 12.03 kB / 0.5056 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.146e-05/0.135, allocations: 9.188 kB / 0.5056 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.1351, allocations: 94.7 kB / 0.5057 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1352, allocations: 52.61 kB / 0.5057 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.1357, allocations: 274.4 kB / 0.506 GB, free: 8.84 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.000135/0.1358, allocations: 96.95 kB / 0.5061 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.1359, allocations: 52.12 kB / 0.5061 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.1379, allocations: 1.158 MB / 0.5072 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1379, allocations: 0 / 0.5072 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/0.138, allocations: 20 kB / 0.5073 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.138, allocations: 19.98 kB / 0.5073 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.1386, allocations: 307.9 kB / 0.5076 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1403, allocations: 1.342 MB / 0.5089 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1415, allocations: 0.6986 MB / 0.5096 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.1421, allocations: 364.3 kB / 0.5099 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.1423, allocations: 47.95 kB / 0.51 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1425, allocations: 170.1 kB / 0.5101 GB, free: 4.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.176e-06/0.1425, allocations: 0 / 0.5101 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001577/0.1441, allocations: 0.8204 MB / 0.5109 GB, free: 3.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/0.1444, allocations: 331.4 kB / 0.5112 GB, free: 3.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1446, allocations: 223 kB / 0.5114 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.1447, allocations: 49.62 kB / 0.5115 GB, free: 2.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1449, allocations: 165.7 kB / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.145, allocations: 71.61 kB / 0.5117 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.1452, allocations: 134.7 kB / 0.5119 GB, free: 2.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1454, allocations: 354.8 kB / 0.5122 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1456, allocations: 125.9 kB / 0.5123 GB, free: 1.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/0.1463, allocations: 0.5742 MB / 0.5129 GB, free: 1.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1474, allocations: 0.7642 MB / 0.5136 GB, free: 132 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1474, allocations: 4 kB / 0.5136 GB, free: 128 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.2594/0.4068, allocations: 0.6763 MB / 0.5143 GB, free: 21.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4068, allocations: 16.12 kB / 0.5143 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.4068, allocations: 15.94 kB / 0.5143 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/0.4068, allocations: 21.72 kB / 0.5143 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.4072, allocations: 147 kB / 0.5145 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.4073, allocations: 35.84 kB / 0.5145 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.4076, allocations: 58.59 kB / 0.5146 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.4076, allocations: 44.94 kB / 0.5146 GB, free: 21.5 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.0004228/0.408, allocations: 260.4 kB / 0.5149 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007841/0.4088, allocations: 0.4883 MB / 0.5153 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/0.4097, allocations: 468.9 kB / 0.5158 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-05/0.4097, allocations: 15.19 kB / 0.5158 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4097, allocations: 3.562 kB / 0.5158 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4097, allocations: 2.766 kB / 0.5158 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.4105, allocations: 0.6085 MB / 0.5164 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.4106, allocations: 9.938 kB / 0.5164 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.4109, allocations: 104 kB / 0.5165 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.4109, allocations: 7.188 kB / 0.5165 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.4109, allocations: 24.67 kB / 0.5165 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.4109, allocations: 5.875 kB / 0.5165 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.411, allocations: 2.344 kB / 0.5165 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.412, allocations: 0.7927 MB / 0.5173 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.4121, allocations: 48.89 kB / 0.5174 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.4121, allocations: 26.66 kB / 0.5174 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4123, allocations: 19.16 kB / 0.5174 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.4124, allocations: 18 kB / 0.5174 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.4124, allocations: 33.42 kB / 0.5175 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.4126, allocations: 145.6 kB / 0.5176 GB, free: 20.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4126, allocations: 3.219 kB / 0.5176 GB, free: 20.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007763/0.4133, allocations: 160.3 kB / 0.5177 GB, free: 20.66 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.002704/0.416, allocations: 1.929 MB / 0.5196 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4172, allocations: 1.227 MB / 0.5208 GB, free: 19.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4172, allocations: 448 / 0.5208 GB, free: 19.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.4176, allocations: 0.7686 MB / 0.5216 GB, free: 18.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4191, allocations: 1.191 MB / 0.5227 GB, free: 17.57 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.004303/0.4234, allocations: 3.282 MB / 0.5259 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4239, allocations: 0.8848 MB / 0.5268 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.4241, allocations: 60.03 kB / 0.5269 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.4244, allocations: 143.9 kB / 0.527 GB, free: 14.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4244, allocations: 0 / 0.527 GB, free: 14.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.4632, allocations: 11.65 MB / 0.5384 GB, free: 11.12 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_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 \"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.414285427017603] Failed to read output from testmodel.py, exit status != 0: 0.9117381739779375 0.9243991619999999 0.7886897420000001 Calling exit ...