Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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.002303/0.002303, allocations: 104.3 kB / 19.74 MB, free: 1.766 MB / 14.72 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.002604/0.002604, allocations: 216.5 kB / 23.03 MB, free: 4.621 MB / 14.72 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.06757/0.06757, allocations: 12.22 MB / 325.4 MB, free: 7.047 MB / 254.1 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: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 453.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.131, allocations: 56.39 MB / 0.4977 GB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005839/0.1369, allocations: 3.124 MB / 0.5008 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1389, allocations: 0.9615 MB / 0.5017 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1391, allocations: 19.81 kB / 0.5018 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1394, allocations: 79.19 kB / 0.5018 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1396, allocations: 51.53 kB / 0.5019 GB, free: 12.1 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1407, allocations: 335 kB / 0.5022 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1412, allocations: 451.7 kB / 0.5026 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.1415, allocations: 176.9 kB / 0.5028 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.1418, allocations: 227.2 kB / 0.503 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.1422, allocations: 238.8 kB / 0.5032 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.1422, allocations: 48 kB / 0.5033 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.1427, allocations: 211.8 kB / 0.5035 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1429, allocations: 159.5 kB / 0.5036 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.1431, allocations: 194.8 kB / 0.5038 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1442, allocations: 0.7508 MB / 0.5046 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1442, allocations: 0 / 0.5046 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1442, allocations: 0 / 0.5046 GB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1442, allocations: 0 / 0.5046 GB, free: 9.336 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002207/0.1464, allocations: 1.128 MB / 0.5057 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1465, allocations: 8.031 kB / 0.5057 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.1466, allocations: 98.64 kB / 0.5058 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1467, allocations: 68.55 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.1474, allocations: 338 kB / 0.5062 GB, free: 7.598 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.1476, allocations: 105 kB / 0.5063 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1477, allocations: 55.94 kB / 0.5063 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.1503, allocations: 1.324 MB / 0.5076 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1503, allocations: 4 kB / 0.5076 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.1504, allocations: 24 kB / 0.5076 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.1505, allocations: 19.98 kB / 0.5076 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.1512, allocations: 361.4 kB / 0.508 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.1543, allocations: 2.041 MB / 0.51 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1555, allocations: 0.7627 MB / 0.5107 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.1562, allocations: 410.8 kB / 0.5111 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1563, allocations: 44.36 kB / 0.5112 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.1564, allocations: 54.92 kB / 0.5112 GB, free: 2.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.376e-06/0.1564, allocations: 0 / 0.5112 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001875/0.1582, allocations: 0.8996 MB / 0.5121 GB, free: 1.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003695/0.1586, allocations: 362.5 kB / 0.5124 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.159, allocations: 304 kB / 0.5127 GB, free: 444 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.1591, allocations: 45.64 kB / 0.5128 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1592, allocations: 193.6 kB / 0.513 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1594, allocations: 107.4 kB / 0.5131 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2424/0.4018, allocations: 149.5 kB / 0.5132 GB, free: 21.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.402, allocations: 360.1 kB / 0.5135 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4023, allocations: 161.8 kB / 0.5137 GB, free: 20.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.4029, allocations: 0.6796 MB / 0.5144 GB, free: 20.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.4038, allocations: 0.9063 MB / 0.5152 GB, free: 19.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.4038, allocations: 5.031 kB / 0.5153 GB, free: 19.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001185/0.405, allocations: 0.8115 MB / 0.516 GB, free: 19.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.405, allocations: 13.5 kB / 0.5161 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.405, allocations: 19.5 kB / 0.5161 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.36e-05/0.4051, allocations: 24.34 kB / 0.5161 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.4056, allocations: 175.5 kB / 0.5163 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.4056, allocations: 33.86 kB / 0.5163 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4059, allocations: 74.17 kB / 0.5164 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.406, allocations: 57 kB / 0.5164 GB, free: 19.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003973/0.4064, allocations: 281.5 kB / 0.5167 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009323/0.4073, allocations: 0.5091 MB / 0.5172 GB, free: 19.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4084, allocations: 0.6781 MB / 0.5179 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/0.4085, allocations: 18.33 kB / 0.5179 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.4085, allocations: 3.312 kB / 0.5179 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4085, allocations: 8.797 kB / 0.5179 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4095, allocations: 396.4 kB / 0.5183 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.4095, allocations: 5.625 kB / 0.5183 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.4099, allocations: 118.3 kB / 0.5184 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.41, allocations: 7.25 kB / 0.5184 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.41, allocations: 24.77 kB / 0.5184 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.41, allocations: 17.62 kB / 0.5184 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.41, allocations: 3.094 kB / 0.5184 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.4119, allocations: 1.833 MB / 0.5202 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.412, allocations: 55.14 kB / 0.5203 GB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.412, allocations: 28.23 kB / 0.5203 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.4125, allocations: 25.42 kB / 0.5203 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.4126, allocations: 24.81 kB / 0.5203 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.4126, allocations: 28.58 kB / 0.5204 GB, free: 17.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.4128, allocations: 199.8 kB / 0.5206 GB, free: 17.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4128, allocations: 1.781 kB / 0.5206 GB, free: 17.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4141, allocations: 171.8 kB / 0.5207 GB, free: 17.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.003319/0.4175, allocations: 2.668 MB / 0.5233 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.4192, allocations: 1.313 MB / 0.5246 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4192, allocations: 1.188 kB / 0.5246 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.4197, allocations: 0.7843 MB / 0.5254 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.4224, allocations: 1.228 MB / 0.5266 GB, free: 14 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.428, allocations: 3.993 MB / 0.5305 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4285, allocations: 333.4 kB / 0.5308 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.4288, allocations: 93.56 kB / 0.5309 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.429, allocations: 167.1 kB / 0.531 GB, free: 10.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.429, allocations: 0 / 0.531 GB, free: 10.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/0.4811, allocations: 13.49 MB / 0.5442 GB, free: 6.129 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '885.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.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;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"885\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.5309680039063096] Failed to read output from testmodel.py, exit status != 0: 0.9474378228187561 0.968207481 0.819430629 Calling exit ...