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.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.000809/0.000809, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.0007971/0.0007971, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9361/0.9361, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.0368/0.0368, allocations: 9.137 MB / 269.1 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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 1.653e-06/1.653e-06, allocations: 0 / 397.1 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.198e-05, allocations: 5.375 kB / 397.1 MB, free: 60 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.003146/0.003168, allocations: 2.849 MB / 399.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004225, allocations: 0.8326 MB / 400.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004325, allocations: 11.88 kB / 400.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.004555, allocations: 75.25 kB / 400.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.004711, allocations: 51.47 kB / 400.9 MB, free: 12.21 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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 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 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.0005014/0.005212, allocations: 286.8 kB / 401.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.005526, allocations: 375 kB / 401.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.005735, allocations: 127.4 kB / 401.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.005928, allocations: 263.5 kB / 401.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.006122, allocations: 167.5 kB / 402.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.006163, allocations: 44 kB / 402.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.00636, allocations: 195.6 kB / 402.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.006479, allocations: 143.5 kB / 402.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.006573, allocations: 123.7 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.007106, allocations: 0.6619 MB / 403.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007109, allocations: 4 kB / 403.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.00711, allocations: 0 / 403.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.007117, allocations: 0 / 403.2 MB, free: 9.855 MB / 330.7 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.001239/0.008356, allocations: 1.025 MB / 404.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.0084, allocations: 12.03 kB / 404.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.008462, allocations: 74.7 kB / 404.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.00853, allocations: 48.66 kB / 404.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.008775, allocations: 253.1 kB / 404.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.008807, allocations: 25.38 kB / 404.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.008846, allocations: 40.36 kB / 404.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.009352, allocations: 464.1 kB / 405.2 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009363, allocations: 192 / 405.2 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.009389, allocations: 20.36 kB / 405.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.009399, allocations: 16.12 kB / 405.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.009703, allocations: 253.9 kB / 405.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01071, allocations: 1.115 MB / 406.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.01107, allocations: 251.7 kB / 406.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.0112, allocations: 126.5 kB / 406.9 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.01123, allocations: 7.938 kB / 406.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.01148, allocations: 250.6 kB / 407.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.313e-06/0.01148, allocations: 0 / 407.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006757/0.01215, allocations: 0.5338 MB / 407.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.01222, allocations: 134.8 kB / 407.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01237, allocations: 215.6 kB / 408.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.0124, allocations: 45.69 kB / 408.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.0125, allocations: 204.7 kB / 408.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.01256, allocations: 95.31 kB / 408.4 MB, free: 4.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.01265, allocations: 106.2 kB / 408.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01276, allocations: 342.8 kB / 408.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01288, allocations: 108.9 kB / 408.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.01308, allocations: 296.8 kB / 409.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.01345, allocations: 451.6 kB / 409.7 MB, free: 2.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.01345, allocations: 4 kB / 409.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000439/0.01389, allocations: 444.9 kB / 410.1 MB, free: 2.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01391, allocations: 8 kB / 410.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.01392, allocations: 8 kB / 410.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01393, allocations: 8 kB / 410.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01406, allocations: 71.83 kB / 410.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01407, allocations: 8.562 kB / 410.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.01416, allocations: 35.78 kB / 410.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.01418, allocations: 27.94 kB / 410.3 MB, free: 2.32 MB / 330.7 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.000181/0.01436, allocations: 239 kB / 410.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01439, allocations: 23.86 kB / 410.5 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.0148, allocations: 368.8 kB / 410.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.0148, allocations: 7.938 kB / 410.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01481, allocations: 4 kB / 410.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01481, allocations: 0 / 410.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.0156, allocations: 0.8562 MB / 411.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0156, allocations: 0 / 411.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.01563, allocations: 15.98 kB / 411.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01563, allocations: 0 / 411.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01565, allocations: 7.984 kB / 411.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.01566, allocations: 4 kB / 411.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01566, allocations: 0 / 411.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.01613, allocations: 0.5552 MB / 412.3 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01615, allocations: 27.8 kB / 412.4 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01617, allocations: 11.98 kB / 412.4 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.01623, allocations: 0 / 412.4 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.01626, allocations: 27.95 kB / 412.4 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.01629, allocations: 19.98 kB / 412.4 MB, free: 80 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1746/0.1909, allocations: 126.3 kB / 412.5 MB, free: 27.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1909, allocations: 0.5 kB / 412.5 MB, free: 27.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.1916, allocations: 142.1 kB / 412.7 MB, free: 27.18 MB / 330.7 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.001623/0.1933, allocations: 1.349 MB / 414 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1939, allocations: 322.5 kB / 414.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1939, allocations: 0 / 414.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1941, allocations: 139.5 kB / 414.5 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1945, allocations: 70.27 kB / 414.6 MB, free: 26.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.1976, allocations: 3.128 MB / 417.7 MB, free: 24.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1978, allocations: 196.2 kB / 417.9 MB, free: 24.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.198, allocations: 54.03 kB / 417.9 MB, free: 24.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1981, allocations: 102.8 kB / 418 MB, free: 24.11 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1981, allocations: 0 / 418 MB, free: 24.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2271, allocations: 8.759 MB / 426.8 MB, free: 21.64 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '525.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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/525.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/525.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Resources/Library/linux64/libWs2_32.a -- Configuring done (0.2s) 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 \"525\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/525.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.169658492319286] Failed to read output from testmodel.py, exit status != 0: 0.48636969551444054 0.49565350399999997 0.487244466 Calling exit ...