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.001441/0.001441, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001674/0.001674, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.684/1.684, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.06708/0.06708, allocations: 12.23 MB / 325.4 MB, free: 7.039 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.002067/0.002067, allocations: 71.89 kB / 453.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 56.4 MB / 0.4977 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005461/0.1291, allocations: 3.128 MB / 0.5008 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1312, allocations: 0.9576 MB / 0.5017 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1313, allocations: 19.81 kB / 0.5018 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1317, allocations: 83.12 kB / 0.5018 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1319, allocations: 47.59 kB / 0.5019 GB, free: 12.08 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.001096/0.133, allocations: 338.2 kB / 0.5022 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.1335, allocations: 455.6 kB / 0.5026 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.1339, allocations: 180.9 kB / 0.5028 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.1342, allocations: 227.2 kB / 0.503 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.1345, allocations: 230.8 kB / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.1346, allocations: 48 kB / 0.5033 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.135, allocations: 215.8 kB / 0.5035 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1352, allocations: 163.5 kB / 0.5036 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1354, allocations: 190.9 kB / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.1364, allocations: 0.7547 MB / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1364, allocations: 0 / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1364, allocations: 0 / 0.5046 GB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1364, allocations: 0 / 0.5046 GB, free: 9.312 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.001979/0.1383, allocations: 1.12 MB / 0.5057 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1384, allocations: 12.02 kB / 0.5057 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1385, allocations: 98.7 kB / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1386, allocations: 68.5 kB / 0.5058 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.1392, allocations: 338 kB / 0.5062 GB, free: 7.578 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.0001311/0.1393, allocations: 101 kB / 0.5063 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.1394, allocations: 59.92 kB / 0.5063 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.1415, allocations: 1.34 MB / 0.5076 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1415, allocations: 0 / 0.5076 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.1416, allocations: 24 kB / 0.5076 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.1416, allocations: 16 kB / 0.5077 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.1423, allocations: 360.2 kB / 0.508 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1445, allocations: 2.037 MB / 0.51 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1457, allocations: 0.7694 MB / 0.5107 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.1463, allocations: 406.8 kB / 0.5111 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.1464, allocations: 44.36 kB / 0.5112 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1465, allocations: 54.92 kB / 0.5112 GB, free: 2.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 5.62e-06/0.1465, allocations: 3.984 kB / 0.5112 GB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001835/0.1483, allocations: 0.8983 MB / 0.5121 GB, free: 1.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002726/0.1486, allocations: 362.5 kB / 0.5124 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.149, allocations: 304 kB / 0.5127 GB, free: 420 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.149, allocations: 37.7 kB / 0.5128 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1492, allocations: 201.5 kB / 0.513 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1493, allocations: 100.5 kB / 0.5131 GB, free: 68 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2599/0.4092, allocations: 149.3 kB / 0.5132 GB, free: 21.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4093, allocations: 359.2 kB / 0.5135 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.4097, allocations: 163.8 kB / 0.5137 GB, free: 20.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.4102, allocations: 0.6752 MB / 0.5144 GB, free: 20.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/0.411, allocations: 0.908 MB / 0.5152 GB, free: 19.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.411, allocations: 4.562 kB / 0.5153 GB, free: 19.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001173/0.4122, allocations: 0.815 MB / 0.516 GB, free: 19.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4122, allocations: 11.81 kB / 0.5161 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.4122, allocations: 18.12 kB / 0.5161 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-05/0.4123, allocations: 24.5 kB / 0.5161 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.4128, allocations: 175.3 kB / 0.5163 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.828e-05/0.4128, allocations: 37.78 kB / 0.5163 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.4131, allocations: 75.11 kB / 0.5164 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.4132, allocations: 57 kB / 0.5164 GB, free: 19.3 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.000414/0.4136, allocations: 278.5 kB / 0.5167 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/0.4145, allocations: 0.5143 MB / 0.5172 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4156, allocations: 0.6814 MB / 0.5179 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.4157, allocations: 16.25 kB / 0.5179 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4157, allocations: 4.562 kB / 0.5179 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4157, allocations: 9.031 kB / 0.5179 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.4165, allocations: 388.5 kB / 0.5183 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.4165, allocations: 5.656 kB / 0.5183 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.4169, allocations: 116 kB / 0.5184 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.4169, allocations: 6.344 kB / 0.5184 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.417, allocations: 27.19 kB / 0.5184 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.417, allocations: 8.469 kB / 0.5184 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.417, allocations: 10.25 kB / 0.5184 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.4188, allocations: 1.839 MB / 0.5202 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.4188, allocations: 65.34 kB / 0.5203 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.4189, allocations: 22.47 kB / 0.5203 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.4194, allocations: 17.78 kB / 0.5203 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.4194, allocations: 23.09 kB / 0.5203 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.4195, allocations: 32.22 kB / 0.5204 GB, free: 17.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.4196, allocations: 196.8 kB / 0.5206 GB, free: 17.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4196, allocations: 1.188 kB / 0.5206 GB, free: 17.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4207, allocations: 172 kB / 0.5207 GB, free: 17.88 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.002932/0.4236, allocations: 2.672 MB / 0.5233 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.425, allocations: 1.303 MB / 0.5246 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.425, allocations: 3.219 kB / 0.5246 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.4254, allocations: 0.785 MB / 0.5254 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.4276, allocations: 1.232 MB / 0.5266 GB, free: 13.99 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.005429/0.4331, allocations: 3.992 MB / 0.5305 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4336, allocations: 332.5 kB / 0.5308 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.4338, allocations: 89.83 kB / 0.5309 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.4341, allocations: 168.8 kB / 0.531 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4341, allocations: 0 / 0.531 GB, free: 10.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05562/0.4897, allocations: 13.49 MB / 0.5442 GB, free: 6.109 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.6409900952130556] Failed to read output from testmodel.py, exit status != 0: 0.9358988688327372 0.958271528 0.817145042 Calling exit ...