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.0009844/0.0009844, allocations: 96.38 kB / 19.73 MB, free: 268 kB / 13.93 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.001141/0.001141, allocations: 201.6 kB / 23.03 MB, free: 1.609 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.9369/0.9369, allocations: 230.6 MB / 256.8 MB, free: 3.215 MB / 202.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.04065/0.04065, allocations: 12.23 MB / 325.4 MB, free: 3.203 MB / 250.7 MB " [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 0.001463/0.001463, allocations: 75.89 kB / 454.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.0841, allocations: 56.39 MB / 0.4985 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.003173/0.08727, allocations: 2.847 MB / 0.5013 GB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.08843, allocations: 0.8446 MB / 0.5021 GB, free: 8.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.08852, allocations: 11.88 kB / 0.5021 GB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.08873, allocations: 67.33 kB / 0.5022 GB, free: 8.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.08886, allocations: 47.53 kB / 0.5022 GB, free: 8.012 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.0004508/0.08931, allocations: 283.2 kB / 0.5025 GB, free: 7.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.08959, allocations: 363.1 kB / 0.5028 GB, free: 7.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.08978, allocations: 123.2 kB / 0.503 GB, free: 7.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.0899, allocations: 191.4 kB / 0.5031 GB, free: 7.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.09009, allocations: 207 kB / 0.5033 GB, free: 6.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.09013, allocations: 40 kB / 0.5034 GB, free: 6.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.09031, allocations: 191.8 kB / 0.5036 GB, free: 6.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.09041, allocations: 139.6 kB / 0.5037 GB, free: 6.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.09049, allocations: 159.2 kB / 0.5039 GB, free: 6.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.09094, allocations: 0.6342 MB / 0.5045 GB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09094, allocations: 3.938 kB / 0.5045 GB, free: 5.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09094, allocations: 4 kB / 0.5045 GB, free: 5.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.09095, allocations: 3.938 kB / 0.5045 GB, free: 5.691 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.001022/0.09197, allocations: 1.02 MB / 0.5055 GB, free: 4.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.092, allocations: 12.03 kB / 0.5055 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.09206, allocations: 78.72 kB / 0.5056 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.09212, allocations: 48.64 kB / 0.5056 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.09233, allocations: 249.8 kB / 0.5058 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.09236, allocations: 29.38 kB / 0.5059 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.09239, allocations: 40.36 kB / 0.5059 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.09284, allocations: 460.2 kB / 0.5064 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.09286, allocations: 3.938 kB / 0.5064 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.09288, allocations: 19.98 kB / 0.5064 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.09289, allocations: 8 kB / 0.5064 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.09317, allocations: 250 kB / 0.5066 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009106/0.09408, allocations: 1.135 MB / 0.5077 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.09441, allocations: 247.7 kB / 0.508 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.09453, allocations: 126.5 kB / 0.5081 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.09455, allocations: 4 kB / 0.5081 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.09477, allocations: 235.1 kB / 0.5083 GB, free: 1.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.273e-06/0.09477, allocations: 0 / 0.5083 GB, free: 1.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008887/0.09566, allocations: 0.5439 MB / 0.5088 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.09572, allocations: 142.6 kB / 0.509 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.09585, allocations: 219 kB / 0.5092 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.09588, allocations: 41.69 kB / 0.5092 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.09596, allocations: 196.7 kB / 0.5094 GB, free: 344 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.09601, allocations: 95.3 kB / 0.5095 GB, free: 248 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.0961, allocations: 114.2 kB / 0.5096 GB, free: 128 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1851/0.2812, allocations: 334.7 kB / 0.5099 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.2815, allocations: 101.2 kB / 0.51 GB, free: 19.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2817, allocations: 293.9 kB / 0.5103 GB, free: 19.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.2822, allocations: 451.2 kB / 0.5107 GB, free: 18.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2822, allocations: 3.625 kB / 0.5107 GB, free: 18.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005757/0.2828, allocations: 449.4 kB / 0.5112 GB, free: 18.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2828, allocations: 12.53 kB / 0.5112 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2828, allocations: 5.344 kB / 0.5112 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2828, allocations: 11.59 kB / 0.5112 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.283, allocations: 73.03 kB / 0.5113 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.283, allocations: 15.69 kB / 0.5113 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2831, allocations: 34.84 kB / 0.5113 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.2831, allocations: 21.62 kB / 0.5113 GB, free: 18.82 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.0002258/0.2834, allocations: 230.3 kB / 0.5116 GB, free: 18.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.2834, allocations: 26.23 kB / 0.5116 GB, free: 18.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.2839, allocations: 367.6 kB / 0.5119 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2839, allocations: 6.812 kB / 0.5119 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2839, allocations: 2.641 kB / 0.5119 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2839, allocations: 6.047 kB / 0.512 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/0.2848, allocations: 0.8443 MB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2848, allocations: 2.594 kB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.2848, allocations: 14.14 kB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2848, allocations: 0.6094 kB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2848, allocations: 10.09 kB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2848, allocations: 6.812 kB / 0.5128 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2848, allocations: 4.781 kB / 0.5128 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.2854, allocations: 0.5562 MB / 0.5134 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.2854, allocations: 26.05 kB / 0.5134 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2854, allocations: 10.73 kB / 0.5134 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.2855, allocations: 11.92 kB / 0.5134 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.2855, allocations: 22 kB / 0.5134 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.2856, allocations: 15.94 kB / 0.5134 GB, free: 18.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.437e-05/0.2856, allocations: 126.4 kB / 0.5136 GB, free: 18.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2856, allocations: 0 / 0.5136 GB, free: 18.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.2861, allocations: 148.8 kB / 0.5137 GB, free: 18.13 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.001334/0.2874, allocations: 1.352 MB / 0.515 GB, free: 17.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.2878, allocations: 320.6 kB / 0.5153 GB, free: 17.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2878, allocations: 0 / 0.5153 GB, free: 17.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.288, allocations: 140 kB / 0.5155 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2884, allocations: 72.02 kB / 0.5155 GB, free: 17.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.291, allocations: 3.146 MB / 0.5186 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2911, allocations: 201.4 kB / 0.5188 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.2912, allocations: 49.56 kB / 0.5188 GB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.2914, allocations: 101.4 kB / 0.5189 GB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2914, allocations: 4 kB / 0.5189 GB, free: 14.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08043/0.3718, allocations: 8.706 MB / 0.5274 GB, free: 13.04 MB / 378.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:254 (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:254 (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:254 (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.1s) 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.416784537024796]