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.0008689/0.0008689, allocations: 80.53 kB / 19.96 MB, free: 4.598 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.001365/0.001365, 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.8839/0.8839, 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.03518/0.03518, allocations: 9.135 MB / 269.1 MB, free: 4.465 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: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.22e-05, allocations: 2.281 kB / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.003231/0.003253, allocations: 2.863 MB / 399.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004516, allocations: 0.8287 MB / 400.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004639, allocations: 11.88 kB / 400.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.004872, allocations: 79.2 kB / 400.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.005027, allocations: 39.53 kB / 400.9 MB, free: 13.41 MB / 378.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.0006114/0.005638, allocations: 290.9 kB / 401.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.005977, allocations: 378.9 kB / 401.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.00619, allocations: 127.4 kB / 401.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.006413, allocations: 255.5 kB / 401.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.006618, allocations: 171.5 kB / 402.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.00666, allocations: 40 kB / 402.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.006898, allocations: 195.6 kB / 402.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.007007, allocations: 151.5 kB / 402.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.007097, allocations: 123.7 kB / 402.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.007626, allocations: 0.6502 MB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.007631, allocations: 4 kB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.007633, allocations: 0 / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.007639, allocations: 4 kB / 403.2 MB, free: 11.05 MB / 378.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.001177/0.008817, allocations: 1.021 MB / 404.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.008855, allocations: 8.031 kB / 404.3 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.008914, allocations: 82.7 kB / 404.3 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.008985, allocations: 44.66 kB / 404.4 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.009212, allocations: 249 kB / 404.6 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.009239, allocations: 33.36 kB / 404.7 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.009272, allocations: 40.38 kB / 404.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.009743, allocations: 456.2 kB / 405.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.009754, allocations: 4.172 kB / 405.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.009777, allocations: 20.38 kB / 405.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.009786, allocations: 12.12 kB / 405.2 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.01008, allocations: 253.9 kB / 405.4 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.01107, allocations: 1.131 MB / 406.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.01143, allocations: 235.8 kB / 406.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01156, allocations: 134.5 kB / 406.9 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01158, allocations: 7.938 kB / 406.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.01181, allocations: 231 kB / 407.2 MB, free: 6.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.01181, allocations: 8 kB / 407.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006714/0.01248, allocations: 0.5493 MB / 407.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.01255, allocations: 130.8 kB / 407.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01269, allocations: 215.6 kB / 408.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.01271, allocations: 41.69 kB / 408.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.01281, allocations: 196.7 kB / 408.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.01287, allocations: 99.25 kB / 408.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.01297, allocations: 110.2 kB / 408.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.01306, allocations: 338.8 kB / 408.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.01319, allocations: 108.9 kB / 408.9 MB, free: 5.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.01339, allocations: 304.8 kB / 409.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.01376, allocations: 451.6 kB / 409.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.01377, allocations: 0 / 409.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004599/0.01423, allocations: 449.2 kB / 410.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01424, allocations: 8 kB / 410.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01425, allocations: 4 kB / 410.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01427, allocations: 8 kB / 410.1 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.0144, allocations: 75.83 kB / 410.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.01441, allocations: 11.94 kB / 410.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.01451, allocations: 35.78 kB / 410.2 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.01454, allocations: 31.92 kB / 410.3 MB, free: 3.5 MB / 378.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.0001812/0.01472, allocations: 231.4 kB / 410.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.01475, allocations: 27.84 kB / 410.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.01516, allocations: 364.1 kB / 410.9 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.01517, allocations: 7.938 kB / 410.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01518, allocations: 4 kB / 410.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01518, allocations: 7.984 kB / 410.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.01598, allocations: 0.8562 MB / 411.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01598, allocations: 0 / 411.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.01601, allocations: 8 kB / 411.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01602, allocations: 4 kB / 411.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.01604, allocations: 11.98 kB / 411.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01604, allocations: 0 / 411.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01604, allocations: 4 kB / 411.8 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.01653, allocations: 0.5512 MB / 412.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.01655, allocations: 27.78 kB / 412.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01657, allocations: 4 kB / 412.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.01663, allocations: 15.98 kB / 412.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.01667, allocations: 19.97 kB / 412.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.01669, allocations: 11.98 kB / 412.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.01677, allocations: 128 kB / 412.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01677, allocations: 0 / 412.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.01716, allocations: 147.5 kB / 412.7 MB, free: 0.9961 MB / 378.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.001252/0.01842, allocations: 1.355 MB / 414 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.01882, allocations: 328 kB / 414.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01883, allocations: 0 / 414.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.01899, allocations: 147.7 kB / 414.5 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.01932, allocations: 70.08 kB / 414.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.02192, allocations: 3.116 MB / 417.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.02206, allocations: 205.2 kB / 417.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.02217, allocations: 46.95 kB / 417.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.02228, allocations: 104.4 kB / 418 MB, free: 11.41 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02228, allocations: 0 / 418 MB, free: 11.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.04582, allocations: 8.748 MB / 426.8 MB, free: 2.82 MB / 394.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: 1.8791771847754717] Failed to read output from testmodel.py, exit status != 0: 0.26392838824540377 0.271721098 0.262230355 Calling exit ...