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.001565/0.001565, allocations: 80.53 kB / 19.97 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.001971/0.001971, allocations: 177.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 1.187/1.187, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.04437/0.04437, allocations: 9.145 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 397.8 MB, free: 488 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.061e-05, allocations: 2.281 kB / 397.8 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.005326/0.005357, allocations: 2.859 MB / 400.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.007108, allocations: 0.8326 MB / 401.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.007329, allocations: 11.88 kB / 401.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.007734, allocations: 71.27 kB / 401.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.008012, allocations: 51.47 kB / 401.7 MB, free: 12.63 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.00104/0.009053, allocations: 279 kB / 401.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.009479, allocations: 378.8 kB / 402.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.009776, allocations: 127.4 kB / 402.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.01006, allocations: 259.5 kB / 402.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.01036, allocations: 175.4 kB / 402.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.01042, allocations: 40 kB / 402.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.01079, allocations: 199.6 kB / 403.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000453/0.01124, allocations: 147.6 kB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.01138, allocations: 119.7 kB / 403.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.01217, allocations: 0.6579 MB / 404 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.01217, allocations: 0 / 404 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01218, allocations: 0 / 404 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.01219, allocations: 3.938 kB / 404 MB, free: 10.27 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.00174/0.01393, allocations: 1.025 MB / 405 MB, free: 9.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.014, allocations: 8.031 kB / 405 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.789e-05/0.01408, allocations: 78.7 kB / 405.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.01418, allocations: 44.66 kB / 405.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.0145, allocations: 245.2 kB / 405.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.01455, allocations: 29.36 kB / 405.4 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.01459, allocations: 44.31 kB / 405.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.01527, allocations: 460.2 kB / 405.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.01528, allocations: 192 / 405.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.01531, allocations: 16.38 kB / 405.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.01533, allocations: 12.12 kB / 406 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.0157, allocations: 256.6 kB / 406.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01725, allocations: 1.135 MB / 407.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.01783, allocations: 243.7 kB / 407.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.018, allocations: 126.5 kB / 407.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.01803, allocations: 7.938 kB / 407.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.01834, allocations: 235 kB / 407.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.216e-06/0.01834, allocations: 0 / 407.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009552/0.01929, allocations: 0.5525 MB / 408.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/0.01939, allocations: 126.8 kB / 408.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.0196, allocations: 219.6 kB / 408.8 MB, free: 5.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.01963, allocations: 41.7 kB / 408.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.01977, allocations: 200.7 kB / 409.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.01984, allocations: 99.31 kB / 409.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.01997, allocations: 106.2 kB / 409.3 MB, free: 4.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.02011, allocations: 342.8 kB / 409.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.02026, allocations: 108.9 kB / 409.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.02076, allocations: 297.5 kB / 410 MB, free: 3.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.02122, allocations: 451.8 kB / 410.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.02123, allocations: 4 kB / 410.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005765/0.02181, allocations: 440.8 kB / 410.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.02184, allocations: 8.781 kB / 410.9 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.02185, allocations: 8 kB / 410.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.02188, allocations: 19.92 kB / 410.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.02204, allocations: 67.84 kB / 411 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.02205, allocations: 8 kB / 411 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.02216, allocations: 35.78 kB / 411 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.02218, allocations: 27.92 kB / 411 MB, free: 2.734 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.0002563/0.02244, allocations: 238.9 kB / 411.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.02248, allocations: 31.78 kB / 411.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.023, allocations: 364.1 kB / 411.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.02301, allocations: 7.938 kB / 411.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.02302, allocations: 0 / 411.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.02303, allocations: 7.984 kB / 411.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02408, allocations: 0.8485 MB / 412.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.02409, allocations: 4 kB / 412.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.02414, allocations: 8 kB / 412.5 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.02415, allocations: 4 kB / 412.5 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.02418, allocations: 11.98 kB / 412.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.02418, allocations: 0 / 412.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02418, allocations: 0 / 412.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.02478, allocations: 0.559 MB / 413.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.02481, allocations: 27.78 kB / 413.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.02484, allocations: 8 kB / 413.2 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.17e-05/0.0249, allocations: 7.984 kB / 413.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.02497, allocations: 19.97 kB / 413.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.02501, allocations: 15.98 kB / 413.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.0251, allocations: 128 kB / 413.3 MB, free: 376 kB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0251, allocations: 0 / 413.3 MB, free: 376 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001004/0.0261, allocations: 151.5 kB / 413.5 MB, free: 224 kB / 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.001837/0.02794, allocations: 1.351 MB / 414.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.02846, allocations: 324.5 kB / 415.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.02846, allocations: 0 / 415.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.02865, allocations: 143.8 kB / 415.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.02906, allocations: 66.52 kB / 415.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.03274, allocations: 3.127 MB / 418.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.03292, allocations: 193.3 kB / 418.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.03309, allocations: 46.95 kB / 418.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.03323, allocations: 108.4 kB / 418.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of SimCode: time 2.415e-06/0.03323, allocations: 0 / 418.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/0.1724, allocations: 8.862 MB / 427.7 MB, free: 1.953 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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- 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 659] [Calling sys.exit(0), Time elapsed: 2.845564877614379]