Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001431/0.001431, 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.00202/0.00202, allocations: 220.8 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.06386/0.06386, allocations: 12.21 MB / 325.4 MB, free: 7.145 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 453.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.13, allocations: 56.4 MB / 0.4977 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004816/0.1348, allocations: 2.335 MB / 0.5 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1368, allocations: 0.9108 MB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.137, allocations: 11.88 kB / 0.5009 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1373, allocations: 83.2 kB / 0.501 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.1376, allocations: 51.53 kB / 0.501 GB, free: 12.95 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.001153/0.1387, allocations: 333.8 kB / 0.5014 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.1392, allocations: 387.8 kB / 0.5017 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.1396, allocations: 167.7 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.1398, allocations: 183.4 kB / 0.5021 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.1401, allocations: 210.9 kB / 0.5023 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.1402, allocations: 44 kB / 0.5023 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1405, allocations: 203.8 kB / 0.5025 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1407, allocations: 159.5 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1409, allocations: 155.1 kB / 0.5028 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008721/0.1418, allocations: 0.6691 MB / 0.5035 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1418, allocations: 4 kB / 0.5035 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1418, allocations: 0 / 0.5035 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1418, allocations: 0 / 0.5035 GB, free: 10.46 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001887/0.1437, allocations: 1.039 MB / 0.5045 GB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1437, allocations: 12.03 kB / 0.5045 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.1438, allocations: 90.66 kB / 0.5046 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1439, allocations: 52.64 kB / 0.5046 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.1444, allocations: 274.4 kB / 0.5049 GB, free: 8.895 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.0001378/0.1445, allocations: 105.9 kB / 0.505 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.1446, allocations: 44.38 kB / 0.505 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.1466, allocations: 1.189 MB / 0.5062 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1466, allocations: 0 / 0.5062 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.1466, allocations: 24 kB / 0.5062 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.1467, allocations: 12 kB / 0.5062 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.1473, allocations: 304 kB / 0.5065 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1489, allocations: 1.272 MB / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1501, allocations: 0.6927 MB / 0.5084 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.1507, allocations: 377.2 kB / 0.5088 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1508, allocations: 35.98 kB / 0.5088 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.1511, allocations: 203.7 kB / 0.509 GB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.1512, allocations: 0 / 0.509 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001627/0.1528, allocations: 0.8168 MB / 0.5098 GB, free: 3.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002537/0.153, allocations: 326.8 kB / 0.5101 GB, free: 3.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1533, allocations: 227 kB / 0.5103 GB, free: 2.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.1534, allocations: 41.64 kB / 0.5104 GB, free: 2.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1535, allocations: 165.8 kB / 0.5105 GB, free: 2.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1536, allocations: 83.53 kB / 0.5106 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1538, allocations: 134.7 kB / 0.5108 GB, free: 2.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.154, allocations: 346.8 kB / 0.5111 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1542, allocations: 121.9 kB / 0.5112 GB, free: 2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/0.155, allocations: 0.5781 MB / 0.5118 GB, free: 1.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.156, allocations: 0.7719 MB / 0.5125 GB, free: 196 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.156, allocations: 4 kB / 0.5125 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.2649/0.4209, allocations: 0.6709 MB / 0.5132 GB, free: 20.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.421, allocations: 13.59 kB / 0.5132 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.421, allocations: 21.11 kB / 0.5132 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.421, allocations: 21.56 kB / 0.5132 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.4214, allocations: 148.9 kB / 0.5134 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-05/0.4214, allocations: 33.66 kB / 0.5134 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.4218, allocations: 59.5 kB / 0.5135 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.4218, allocations: 49.33 kB / 0.5135 GB, free: 20.96 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0004228/0.4222, allocations: 259.2 kB / 0.5138 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/0.423, allocations: 493.6 kB / 0.5142 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.4238, allocations: 463.8 kB / 0.5147 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/0.4238, allocations: 19.8 kB / 0.5147 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4238, allocations: 3.344 kB / 0.5147 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4239, allocations: 6.391 kB / 0.5147 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.4247, allocations: 0.5526 MB / 0.5152 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.4247, allocations: 11.3 kB / 0.5152 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.425, allocations: 101.4 kB / 0.5153 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.425, allocations: 7.438 kB / 0.5154 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.425, allocations: 25.61 kB / 0.5154 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.425, allocations: 9.062 kB / 0.5154 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.425, allocations: 2.219 kB / 0.5154 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.426, allocations: 0.785 MB / 0.5162 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4261, allocations: 54.16 kB / 0.5162 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.4261, allocations: 22.69 kB / 0.5162 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.4263, allocations: 24.36 kB / 0.5163 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.4264, allocations: 22.11 kB / 0.5163 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.4264, allocations: 33.05 kB / 0.5163 GB, free: 20.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4265, allocations: 148.5 kB / 0.5164 GB, free: 20.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4265, allocations: 0 / 0.5164 GB, free: 20.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.4272, allocations: 157.9 kB / 0.5166 GB, free: 20.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,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,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * 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.002458/0.4297, allocations: 1.943 MB / 0.5185 GB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.4308, allocations: 1.234 MB / 0.5197 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4308, allocations: 0 / 0.5197 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.4312, allocations: 0.7645 MB / 0.5204 GB, free: 17.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4326, allocations: 1.182 MB / 0.5216 GB, free: 16.97 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.004114/0.4367, allocations: 3.281 MB / 0.5248 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4371, allocations: 281.6 kB / 0.5251 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.4373, allocations: 60.45 kB / 0.5251 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.4374, allocations: 137.4 kB / 0.5253 GB, free: 14.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4374, allocations: 0 / 0.5253 GB, free: 14.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.4831, allocations: 11.86 MB / 0.5368 GB, free: 11.29 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '117.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_UDPWithoutReceiveThread/117.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_UDPWithoutReceiveThread/117.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 \"117\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.6252930858172476] Failed to read output from testmodel.py, exit status != 0: 0.9422265631146729 0.966705735 0.820862664 Calling exit ...