Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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.001263/0.001263, allocations: 116.7 kB / 17.17 MB, free: 5.719 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.001381/0.001381, allocations: 196.5 kB / 20.12 MB, free: 2.809 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.518/1.518, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.0723/0.0723, allocations: 12.16 MB / 315.6 MB, free: 332 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.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.91 kB / 439.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 55.17 MB / 494.7 MB, free: 23.83 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.005105/0.3095, allocations: 3.239 MB / 497.9 MB, free: 21.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3114, allocations: 0.9217 MB / 498.9 MB, free: 20.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.3116, allocations: 12.69 kB / 498.9 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.3119, allocations: 98.84 kB / 499 MB, free: 20.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3121, allocations: 44.62 kB / 499 MB, free: 20.44 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.313, allocations: 310.4 kB / 499.3 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.3134, allocations: 403.3 kB / 499.7 MB, free: 19.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.3136, allocations: 167.1 kB / 499.9 MB, free: 19.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.3138, allocations: 174.3 kB / 0.4883 GB, free: 19.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.314, allocations: 200.1 kB / 0.4885 GB, free: 19.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.3141, allocations: 42.38 kB / 0.4886 GB, free: 19.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3144, allocations: 164.9 kB / 0.4887 GB, free: 19.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3145, allocations: 127.5 kB / 0.4888 GB, free: 19.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3147, allocations: 201.5 kB / 0.489 GB, free: 19.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.3154, allocations: 0.5909 MB / 0.4896 GB, free: 18.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3154, allocations: 0 / 0.4896 GB, free: 18.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3154, allocations: 1.25 kB / 0.4896 GB, free: 18.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3154, allocations: 0 / 0.4896 GB, free: 18.87 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001456/0.3168, allocations: 0.9132 MB / 0.4905 GB, free: 18.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3169, allocations: 12.84 kB / 0.4905 GB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.317, allocations: 76.98 kB / 0.4906 GB, free: 17.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3171, allocations: 47.88 kB / 0.4906 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.3175, allocations: 341.1 kB / 0.4909 GB, free: 17.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.3175, allocations: 29.47 kB / 0.491 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.3176, allocations: 39.55 kB / 0.491 GB, free: 17.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.3183, allocations: 431.1 kB / 0.4914 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3183, allocations: 3.938 kB / 0.4914 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.3184, allocations: 20.58 kB / 0.4914 GB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.3184, allocations: 13.12 kB / 0.4915 GB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.3189, allocations: 234.7 kB / 0.4917 GB, free: 17.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3206, allocations: 1.287 MB / 0.4929 GB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.3211, allocations: 277.4 kB / 0.4932 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3213, allocations: 129.8 kB / 0.4933 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.3213, allocations: 8.422 kB / 0.4933 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.3217, allocations: 249.8 kB / 0.4936 GB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.3217, allocations: 0 / 0.4936 GB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001069/0.3227, allocations: 0.5322 MB / 0.4941 GB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.3228, allocations: 152.7 kB / 0.4942 GB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3231, allocations: 259.3 kB / 0.4945 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3231, allocations: 45.12 kB / 0.4945 GB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3232, allocations: 194.1 kB / 0.4947 GB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.3233, allocations: 112.7 kB / 0.4948 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3235, allocations: 115.2 kB / 0.4949 GB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.3236, allocations: 347.8 kB / 0.4953 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.3238, allocations: 114.8 kB / 0.4954 GB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.3241, allocations: 284.7 kB / 0.4956 GB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.3248, allocations: 0.6835 MB / 0.4963 GB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3248, allocations: 1.031 kB / 0.4963 GB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009783/0.3258, allocations: 0.5569 MB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.342e-05/0.3259, allocations: 65.94 kB / 0.4969 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.3259, allocations: 4.469 kB / 0.4969 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.326, allocations: 15.72 kB / 0.4969 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3262, allocations: 55.16 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.3262, allocations: 16.33 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.3264, allocations: 46.08 kB / 0.4971 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.3265, allocations: 27.69 kB / 0.4971 GB, free: 12.89 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.3268, allocations: 235.7 kB / 0.4973 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.3269, allocations: 30.22 kB / 0.4973 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.327, allocations: 32.8 kB / 0.4974 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.327, allocations: 4.5 kB / 0.4974 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.327, allocations: 1.125 kB / 0.4974 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.327, allocations: 6.047 kB / 0.4974 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3284, allocations: 0.8605 MB / 0.4982 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.3284, allocations: 2.875 kB / 0.4982 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.3284, allocations: 9.438 kB / 0.4982 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3284, allocations: 5.359 kB / 0.4982 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.3284, allocations: 13.5 kB / 0.4982 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3284, allocations: 2.75 kB / 0.4982 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.3284, allocations: 9.297 kB / 0.4983 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.3292, allocations: 0.5168 MB / 0.4988 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3293, allocations: 114.4 kB / 0.4989 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3293, allocations: 15.34 kB / 0.4989 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3295, allocations: 11.61 kB / 0.4989 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.3295, allocations: 30.14 kB / 0.4989 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3296, allocations: 15.48 kB / 0.4989 GB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.3298, allocations: 161.2 kB / 0.4991 GB, free: 11.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 1.062 kB / 0.4991 GB, free: 11.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006216/0.3304, allocations: 147.1 kB / 0.4992 GB, free: 11.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 21 * If-equations: 0 * 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.002159/0.3325, allocations: 1.414 MB / 0.5006 GB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.3333, allocations: 489 kB / 0.5011 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3333, allocations: 0 / 0.5011 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.3336, allocations: 162.2 kB / 0.5012 GB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.334, allocations: 57.08 kB / 0.5013 GB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.3384, allocations: 3.494 MB / 0.5047 GB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3387, allocations: 0.8062 MB / 0.5055 GB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.3388, allocations: 37.58 kB / 0.5055 GB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3389, allocations: 115.6 kB / 0.5056 GB, free: 6.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3389, allocations: 0 / 0.5056 GB, free: 6.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3724, allocations: 8.327 MB / 0.5138 GB, free: 15.06 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.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.Blocks.Examples.TestSerialPackager_TCPIPServer/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- 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: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a;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_Blocks_Examples_TestSerialPackager_TCPIPServer\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.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.2471048389561474] Failed to read output from testmodel.py, exit status != 0: 0.8358537289313972 0.856557257 0.537224997 Calling exit ...