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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108.8 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 196.5 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06261/0.06261, allocations: 12.18 MB / 315.6 MB, free: 280 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001985/0.001985, allocations: 71.88 kB / 439.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2965, allocations: 55.16 MB / 494.7 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003626/0.3001, allocations: 2.308 MB / 497 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3017, allocations: 0.9638 MB / 498 MB, free: 21.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3019, allocations: 10.03 kB / 498 MB, free: 21.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3021, allocations: 85.91 kB / 498.1 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.3023, allocations: 55.19 kB / 498.1 MB, free: 21.16 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0007989/0.3031, allocations: 318.2 kB / 498.4 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.3035, allocations: 390.3 kB / 498.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3038, allocations: 199.4 kB / 499 MB, free: 20.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3039, allocations: 187.6 kB / 499.2 MB, free: 20.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3041, allocations: 231.3 kB / 499.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.3042, allocations: 42.75 kB / 499.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.3045, allocations: 197.8 kB / 499.6 MB, free: 20.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3046, allocations: 154.4 kB / 499.8 MB, free: 20.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3047, allocations: 206.8 kB / 500 MB, free: 19.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.3054, allocations: 0.6688 MB / 0.4889 GB, free: 19.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3054, allocations: 1.031 kB / 0.4889 GB, free: 19.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3054, allocations: 0 / 0.4889 GB, free: 19.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3054, allocations: 0 / 0.4889 GB, free: 19.46 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.001398/0.3068, allocations: 1.111 MB / 0.49 GB, free: 18.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3068, allocations: 9.062 kB / 0.49 GB, free: 18.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.522e-05/0.3069, allocations: 100 kB / 0.4901 GB, free: 18.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.3071, allocations: 58.23 kB / 0.4902 GB, free: 18.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3074, allocations: 339.9 kB / 0.4905 GB, free: 18.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.0001093/0.3075, allocations: 101.3 kB / 0.4906 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.3076, allocations: 44.97 kB / 0.4906 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.3092, allocations: 1.151 MB / 0.4918 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3092, allocations: 5.016 kB / 0.4918 GB, free: 17.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.3093, allocations: 16.97 kB / 0.4918 GB, free: 17.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.3093, allocations: 22.61 kB / 0.4918 GB, free: 17.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.3098, allocations: 297.9 kB / 0.4921 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3109, allocations: 1.378 MB / 0.4934 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.3118, allocations: 1.291 MB / 0.4947 GB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.3123, allocations: 381.5 kB / 0.4951 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3124, allocations: 40.59 kB / 0.4951 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3126, allocations: 176.4 kB / 0.4953 GB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/0.3126, allocations: 1.125 kB / 0.4953 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001316/0.3139, allocations: 0.8266 MB / 0.4961 GB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.314, allocations: 326.5 kB / 0.4964 GB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3142, allocations: 220 kB / 0.4966 GB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.3142, allocations: 38.23 kB / 0.4966 GB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3143, allocations: 164.1 kB / 0.4968 GB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3144, allocations: 87.89 kB / 0.4969 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.3145, allocations: 139.3 kB / 0.497 GB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.3146, allocations: 348.8 kB / 0.4973 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3148, allocations: 119.9 kB / 0.4975 GB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.3152, allocations: 0.5783 MB / 0.498 GB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.3158, allocations: 0.7667 MB / 0.4988 GB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.3158, allocations: 4.562 kB / 0.4988 GB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008896/0.3167, allocations: 0.679 MB / 0.4994 GB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3167, allocations: 11.41 kB / 0.4994 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3167, allocations: 20.69 kB / 0.4995 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/0.3168, allocations: 21 kB / 0.4995 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.3172, allocations: 147.5 kB / 0.4996 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.3172, allocations: 34.66 kB / 0.4997 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.3175, allocations: 61.5 kB / 0.4997 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.3175, allocations: 46.95 kB / 0.4998 GB, free: 10.46 MB / 366.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.0003225/0.3178, allocations: 260.5 kB / 0.5 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/0.3185, allocations: 0.4916 MB / 0.5005 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.3193, allocations: 464.3 kB / 0.5009 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.3193, allocations: 19.67 kB / 0.5009 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3193, allocations: 2.625 kB / 0.501 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3194, allocations: 7.547 kB / 0.501 GB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.3201, allocations: 0.6268 MB / 0.5016 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.3201, allocations: 9.047 kB / 0.5016 GB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.3204, allocations: 103.1 kB / 0.5017 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.3204, allocations: 5.469 kB / 0.5017 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.3204, allocations: 33.09 kB / 0.5017 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3204, allocations: 4.844 kB / 0.5017 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3204, allocations: 1.969 kB / 0.5017 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.3214, allocations: 0.7918 MB / 0.5025 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.3214, allocations: 123.3 kB / 0.5026 GB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.3215, allocations: 20.44 kB / 0.5026 GB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3216, allocations: 17.77 kB / 0.5026 GB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.3217, allocations: 29.52 kB / 0.5027 GB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.3217, allocations: 31.98 kB / 0.5027 GB, free: 8.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3218, allocations: 146.9 kB / 0.5028 GB, free: 8.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3218, allocations: 1.469 kB / 0.5028 GB, free: 8.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007494/0.3226, allocations: 167.1 kB / 0.503 GB, free: 8.281 MB / 366.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.002339/0.3249, allocations: 1.924 MB / 0.5049 GB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.326, allocations: 1.225 MB / 0.5061 GB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.326, allocations: 0 / 0.5061 GB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.3264, allocations: 0.7683 MB / 0.5068 GB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.3278, allocations: 1.181 MB / 0.508 GB, free: 4.312 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.003641/0.3314, allocations: 3.278 MB / 0.5112 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.3319, allocations: 0.8869 MB / 0.5121 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.3321, allocations: 60.25 kB / 0.5121 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.3323, allocations: 139.4 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3323, allocations: 0 / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.372, allocations: 11 MB / 0.523 GB, free: 4.645 MB / 382.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_2/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_2/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 2.1.1-master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 2.1.1-master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.2925309003330767] Failed to read output from testmodel.py, exit status != 0: 0.8111646068282425 0.83740732 0.527255593 Calling exit ...