Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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.001354/0.001354, allocations: 109.7 kB / 17.17 MB, free: 6.047 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.001317/0.001317, allocations: 200.6 kB / 20.13 MB, free: 3.102 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.471/1.471, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.06151/0.06151, allocations: 12.16 MB / 315.6 MB, free: 284 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_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 439.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 55.17 MB / 494.7 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.003604/0.3193, allocations: 2.795 MB / 497.5 MB, free: 21.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3206, allocations: 0.8763 MB / 498.4 MB, free: 20.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3207, allocations: 11.72 kB / 498.4 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.321, allocations: 74.8 kB / 498.5 MB, free: 20.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.3211, allocations: 45.75 kB / 498.5 MB, free: 20.81 MB / 366.1 MB [/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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.sendTo'. [/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:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.3217, allocations: 275.9 kB / 498.8 MB, free: 20.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.322, allocations: 371.2 kB / 499.1 MB, free: 20.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3222, allocations: 167.8 kB / 499.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3224, allocations: 181.9 kB / 499.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3226, allocations: 220 kB / 499.7 MB, free: 20 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.3227, allocations: 46.45 kB / 499.7 MB, free: 20 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.3229, allocations: 186.2 kB / 499.9 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.323, allocations: 141.7 kB / 0.4883 GB, free: 19.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3231, allocations: 191.8 kB / 0.4885 GB, free: 19.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3237, allocations: 0.642 MB / 0.4891 GB, free: 19.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3237, allocations: 0 / 0.4891 GB, free: 19.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3237, allocations: 0 / 0.4891 GB, free: 19.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.3237, allocations: 0 / 0.4891 GB, free: 19.2 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 addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001341/0.325, allocations: 1.101 MB / 0.4902 GB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3251, allocations: 10.25 kB / 0.4902 GB, free: 18.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.3251, allocations: 84.77 kB / 0.4903 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.3252, allocations: 46.16 kB / 0.4904 GB, free: 18.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3255, allocations: 311.7 kB / 0.4907 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.3255, allocations: 34.17 kB / 0.4907 GB, free: 17.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.3256, allocations: 37.88 kB / 0.4907 GB, free: 17.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.3262, allocations: 474.7 kB / 0.4912 GB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3262, allocations: 3.938 kB / 0.4912 GB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3263, allocations: 12.56 kB / 0.4912 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3263, allocations: 9.156 kB / 0.4912 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.3267, allocations: 259.6 kB / 0.4914 GB, free: 17.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3279, allocations: 1.238 MB / 0.4927 GB, free: 16.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.3283, allocations: 244 kB / 0.4929 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3285, allocations: 130.2 kB / 0.493 GB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.3286, allocations: 11.89 kB / 0.493 GB, free: 16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3288, allocations: 238.3 kB / 0.4933 GB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.3288, allocations: 0 / 0.4933 GB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009415/0.3298, allocations: 0.544 MB / 0.4938 GB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.3299, allocations: 139.2 kB / 0.4939 GB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.33, allocations: 206.7 kB / 0.4941 GB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3301, allocations: 44.41 kB / 0.4942 GB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.3302, allocations: 194 kB / 0.4943 GB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.3302, allocations: 98.47 kB / 0.4944 GB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3303, allocations: 114.8 kB / 0.4945 GB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.3304, allocations: 337.7 kB / 0.4949 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3306, allocations: 104.1 kB / 0.495 GB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3308, allocations: 296.6 kB / 0.4952 GB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.3312, allocations: 460.3 kB / 0.4957 GB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3312, allocations: 2.094 kB / 0.4957 GB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005963/0.3318, allocations: 439.3 kB / 0.4961 GB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3319, allocations: 8.094 kB / 0.4961 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3319, allocations: 6.906 kB / 0.4961 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3319, allocations: 8.938 kB / 0.4961 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3321, allocations: 73.23 kB / 0.4962 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3321, allocations: 17.81 kB / 0.4962 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3323, allocations: 34.97 kB / 0.4963 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.3323, allocations: 29.95 kB / 0.4963 GB, free: 13.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001953/0.3325, allocations: 220.6 kB / 0.4965 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.3326, allocations: 28.52 kB / 0.4965 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.3331, allocations: 379.6 kB / 0.4969 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3331, allocations: 7.188 kB / 0.4969 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3331, allocations: 0.9062 kB / 0.4969 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3331, allocations: 2 kB / 0.4969 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.3341, allocations: 0.9039 MB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3341, allocations: 0 / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3342, allocations: 10.59 kB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3342, allocations: 1.25 kB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3342, allocations: 12.42 kB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3342, allocations: 2.25 kB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3342, allocations: 9.172 kB / 0.4978 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.3348, allocations: 0.5467 MB / 0.4983 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.3349, allocations: 105.1 kB / 0.4984 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3349, allocations: 2.75 kB / 0.4984 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.335, allocations: 10.73 kB / 0.4985 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.335, allocations: 24.17 kB / 0.4985 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3351, allocations: 14.98 kB / 0.4985 GB, free: 12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.3351, allocations: 134.1 kB / 0.4986 GB, free: 11.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3351, allocations: 0 / 0.4986 GB, free: 11.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000542/0.3357, allocations: 143.5 kB / 0.4988 GB, free: 11.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001669/0.3374, allocations: 1.327 MB / 0.5 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3379, allocations: 328.5 kB / 0.5004 GB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3379, allocations: 0 / 0.5004 GB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3381, allocations: 128.1 kB / 0.5005 GB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.3386, allocations: 77.91 kB / 0.5006 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3417, allocations: 3.136 MB / 0.5036 GB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3419, allocations: 0.7997 MB / 0.5044 GB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3421, allocations: 50.53 kB / 0.5045 GB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3422, allocations: 105.2 kB / 0.5046 GB, free: 7.215 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3422, allocations: 0 / 0.5046 GB, free: 7.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3722, allocations: 7.8 MB / 0.5122 GB, free: 0.7969 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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_TCPIP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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 -- 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 -- 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_TCPIP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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.1733470712788403] Failed to read output from testmodel.py, exit status != 0: 0.7981900540180504 0.8254021490000001 0.49675924200000005 Calling exit ...