Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.001323/0.001323, allocations: 113.8 kB / 17.17 MB, free: 5.855 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.001426/0.001426, allocations: 212 kB / 20.14 MB, free: 2.898 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06504/0.06504, allocations: 12.22 MB / 321.8 MB, free: 13.28 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.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.53 kB / 448.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 56.37 MB / 0.4926 GB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004498/0.1091, allocations: 2.845 MB / 0.4954 GB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1106, allocations: 0.759 MB / 0.4962 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1108, allocations: 11.88 kB / 0.4962 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1111, allocations: 67.33 kB / 0.4962 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1113, allocations: 51.53 kB / 0.4963 GB, free: 13.92 MB / 366.1 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/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/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/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/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0006673/0.1119, allocations: 227.4 kB / 0.4965 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1123, allocations: 323.2 kB / 0.4968 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.1126, allocations: 133.2 kB / 0.4969 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1128, allocations: 159.4 kB / 0.4971 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.1131, allocations: 187.2 kB / 0.4973 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.1131, allocations: 36 kB / 0.4973 GB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1134, allocations: 151.9 kB / 0.4974 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1135, allocations: 115.6 kB / 0.4976 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.1137, allocations: 171.1 kB / 0.4977 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.1143, allocations: 0.5174 MB / 0.4982 GB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.1143, allocations: 4 kB / 0.4982 GB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1143, allocations: 0 / 0.4982 GB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1144, allocations: 3.984 kB / 0.4982 GB, free: 11.91 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001593/0.1159, allocations: 0.8889 MB / 0.4991 GB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.116, allocations: 8.031 kB / 0.4991 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.1161, allocations: 70.72 kB / 0.4992 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.1162, allocations: 40.7 kB / 0.4992 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1165, allocations: 287.8 kB / 0.4995 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.1166, allocations: 29.02 kB / 0.4995 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1166, allocations: 32.38 kB / 0.4996 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.1173, allocations: 403.7 kB / 0.4999 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1173, allocations: 3.938 kB / 0.4999 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.1174, allocations: 15.98 kB / 0.5 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1174, allocations: 8 kB / 0.5 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1178, allocations: 213.6 kB / 0.5002 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1195, allocations: 1.311 MB / 0.5014 GB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.12, allocations: 272.9 kB / 0.5017 GB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1202, allocations: 120.2 kB / 0.5018 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1202, allocations: 8 kB / 0.5018 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/0.1206, allocations: 232.5 kB / 0.5021 GB, free: 7.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.1206, allocations: 0 / 0.5021 GB, free: 7.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009911/0.1216, allocations: 484.1 kB / 0.5025 GB, free: 7.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.1217, allocations: 189.9 kB / 0.5027 GB, free: 6.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.122, allocations: 223.7 kB / 0.5029 GB, free: 6.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.122, allocations: 45.69 kB / 0.503 GB, free: 6.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1222, allocations: 180.8 kB / 0.5031 GB, free: 6.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.1223, allocations: 87.41 kB / 0.5032 GB, free: 6.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.1224, allocations: 110.4 kB / 0.5033 GB, free: 6.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1226, allocations: 350.7 kB / 0.5036 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1228, allocations: 105.1 kB / 0.5037 GB, free: 5.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1232, allocations: 274.1 kB / 0.504 GB, free: 5.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.1237, allocations: 392.2 kB / 0.5044 GB, free: 5.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1237, allocations: 0 / 0.5044 GB, free: 5.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007373/0.1245, allocations: 429 kB / 0.5048 GB, free: 4.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1245, allocations: 11.94 kB / 0.5048 GB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1245, allocations: 4 kB / 0.5048 GB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.1245, allocations: 11.94 kB / 0.5048 GB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1248, allocations: 59.91 kB / 0.5049 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.1248, allocations: 11.94 kB / 0.5049 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.125, allocations: 40.53 kB / 0.5049 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.125, allocations: 27.98 kB / 0.505 GB, free: 4.488 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.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,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002667/0.1253, allocations: 211 kB / 0.5052 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.1253, allocations: 23.95 kB / 0.5052 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.1259, allocations: 303.2 kB / 0.5055 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1259, allocations: 4 kB / 0.5055 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1259, allocations: 8 kB / 0.5055 GB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1259, allocations: 3.984 kB / 0.5055 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.1271, allocations: 0.7677 MB / 0.5062 GB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1271, allocations: 3.938 kB / 0.5062 GB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.1271, allocations: 11.98 kB / 0.5062 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1271, allocations: 4 kB / 0.5062 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1272, allocations: 11.98 kB / 0.5063 GB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1272, allocations: 4 kB / 0.5063 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1272, allocations: 4 kB / 0.5063 GB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.1279, allocations: 0.4927 MB / 0.5067 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.128, allocations: 100.9 kB / 0.5068 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.128, allocations: 11.98 kB / 0.5069 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1281, allocations: 8 kB / 0.5069 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.1282, allocations: 19.97 kB / 0.5069 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.1283, allocations: 23.92 kB / 0.5069 GB, free: 2.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1284, allocations: 127.1 kB / 0.507 GB, free: 2.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1284, allocations: 0 / 0.507 GB, free: 2.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.1289, allocations: 127.6 kB / 0.5071 GB, free: 2.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.001807/0.1307, allocations: 1.238 MB / 0.5084 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006187/0.1313, allocations: 295.5 kB / 0.5086 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1313, allocations: 1.312 kB / 0.5086 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1316, allocations: 115.9 kB / 0.5088 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.1321, allocations: 62.73 kB / 0.5088 GB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.1362, allocations: 3.044 MB / 0.5118 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.1367, allocations: 0.7914 MB / 0.5126 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1368, allocations: 38.97 kB / 0.5126 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.1369, allocations: 91.39 kB / 0.5127 GB, free: 12.21 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1369, allocations: 4.109 kB / 0.5127 GB, free: 12.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.1705, allocations: 6.96 MB / 0.5195 GB, free: 5.457 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND -- 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.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.0540958639903693] Failed to read output from testmodel.py, exit status != 0: 0.5618385910056531 0.588718358 0.46961738000000003 Calling exit ...