Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.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.001274/0.001274, allocations: 123 kB / 17.88 MB, free: 5.027 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.001484/0.001484, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.514/1.514, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.06294/0.06294, allocations: 12.22 MB / 322.5 MB, free: 13.26 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_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 64.16 kB / 448.8 MB, free: 38.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1093, allocations: 56.37 MB / 0.4933 GB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.003959/0.1132, allocations: 2.745 MB / 0.496 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1148, allocations: 0.7162 MB / 0.4967 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1149, allocations: 11.88 kB / 0.4967 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1152, allocations: 59.41 kB / 0.4968 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1154, allocations: 51.58 kB / 0.4968 GB, free: 14.07 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.000645/0.116, allocations: 211.4 kB / 0.497 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.1164, allocations: 303.2 kB / 0.4973 GB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1167, allocations: 124.9 kB / 0.4974 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1168, allocations: 151.5 kB / 0.4976 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1171, allocations: 175.2 kB / 0.4978 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.1171, allocations: 36 kB / 0.4978 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.1174, allocations: 147.9 kB / 0.4979 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1175, allocations: 103.7 kB / 0.498 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1177, allocations: 163.1 kB / 0.4982 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.1183, allocations: 0.4941 MB / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1183, allocations: 4 kB / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1183, allocations: 0 / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1183, allocations: 4 kB / 0.4987 GB, free: 12.17 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00145/0.1198, allocations: 0.8645 MB / 0.4995 GB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1198, allocations: 8.031 kB / 0.4995 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.1198, allocations: 8.844 kB / 0.4995 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.399e-05/0.1199, allocations: 74.66 kB / 0.4996 GB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.12, allocations: 36.7 kB / 0.4996 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1203, allocations: 279.8 kB / 0.4999 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1204, allocations: 28.95 kB / 0.4999 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.1204, allocations: 36.38 kB / 0.5 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.1211, allocations: 364 kB / 0.5003 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1211, allocations: 0 / 0.5003 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1211, allocations: 19.92 kB / 0.5003 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1211, allocations: 8 kB / 0.5003 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.1215, allocations: 192.7 kB / 0.5005 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.123, allocations: 1.162 MB / 0.5017 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1235, allocations: 230.5 kB / 0.5019 GB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.1237, allocations: 111.4 kB / 0.502 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1237, allocations: 11.94 kB / 0.502 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003437/0.1241, allocations: 204.3 kB / 0.5022 GB, free: 8.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.1241, allocations: 7.875 kB / 0.5022 GB, free: 8.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009556/0.125, allocations: 457.2 kB / 0.5026 GB, free: 7.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.1252, allocations: 148.5 kB / 0.5028 GB, free: 7.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1254, allocations: 214.6 kB / 0.503 GB, free: 7.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1255, allocations: 37.69 kB / 0.503 GB, free: 7.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1257, allocations: 184.5 kB / 0.5032 GB, free: 7.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.1258, allocations: 75.47 kB / 0.5033 GB, free: 7.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.1259, allocations: 98.06 kB / 0.5034 GB, free: 7.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1261, allocations: 338.8 kB / 0.5037 GB, free: 6.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.1263, allocations: 92.81 kB / 0.5038 GB, free: 6.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1267, allocations: 243.1 kB / 0.504 GB, free: 6.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.1273, allocations: 374.8 kB / 0.5044 GB, free: 5.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1273, allocations: 0 / 0.5044 GB, free: 5.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007173/0.128, allocations: 384.9 kB / 0.5047 GB, free: 5.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.128, allocations: 12.53 kB / 0.5047 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.128, allocations: 4 kB / 0.5047 GB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.1281, allocations: 15.94 kB / 0.5048 GB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1283, allocations: 51.91 kB / 0.5048 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.1283, allocations: 12.31 kB / 0.5048 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1285, allocations: 27.84 kB / 0.5048 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.1285, allocations: 23.98 kB / 0.5049 GB, free: 5.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 42 (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.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,getReal.pkgOut[1].trigger,$whenCondition1,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 (49): * Single equations (assignments): 49 * 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.000373/0.1289, allocations: 203.1 kB / 0.5051 GB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.1289, allocations: 35.73 kB / 0.5051 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.1293, allocations: 183 kB / 0.5053 GB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1294, allocations: 3.938 kB / 0.5053 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1294, allocations: 4 kB / 0.5053 GB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1294, allocations: 3.984 kB / 0.5053 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.1306, allocations: 0.837 MB / 0.5061 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1306, allocations: 0 / 0.5061 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1307, allocations: 12 kB / 0.5061 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1307, allocations: 3.984 kB / 0.5061 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.1307, allocations: 8 kB / 0.5061 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1307, allocations: 4 kB / 0.5061 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1307, allocations: 0 / 0.5061 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.1314, allocations: 0.5412 MB / 0.5067 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.1315, allocations: 108.8 kB / 0.5068 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1316, allocations: 8.109 kB / 0.5068 GB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1317, allocations: 8 kB / 0.5068 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1317, allocations: 11.98 kB / 0.5068 GB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.1318, allocations: 19.98 kB / 0.5068 GB, free: 3.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1319, allocations: 128 kB / 0.5069 GB, free: 3.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1319, allocations: 0 / 0.5069 GB, free: 3.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005777/0.1325, allocations: 123.5 kB / 0.507 GB, free: 2.973 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * 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.002034/0.1345, allocations: 1.284 MB / 0.5083 GB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.1351, allocations: 263.8 kB / 0.5086 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1351, allocations: 1.188 kB / 0.5086 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.1354, allocations: 115.8 kB / 0.5087 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.1359, allocations: 59.17 kB / 0.5087 GB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.1401, allocations: 2.932 MB / 0.5116 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1406, allocations: 0.7753 MB / 0.5123 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.1407, allocations: 42.25 kB / 0.5124 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1409, allocations: 83.41 kB / 0.5125 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1409, allocations: 0 / 0.5125 GB, free: 13.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.1688, allocations: 6.651 MB / 0.519 GB, free: 6.773 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.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_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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_SharedMemory\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.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.1684595579863526] Failed to read output from testmodel.py, exit status != 0: 0.5608682110323571 0.586008628 0.46280688999999997 Calling exit ...