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.001035/0.001035, allocations: 96.36 kB / 19.73 MB, free: 412 kB / 13.93 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.0009815/0.0009815, allocations: 212.1 kB / 23.03 MB, free: 2.953 MB / 13.93 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 0.9898/0.9898, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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.03924/0.03924, allocations: 12.22 MB / 325.4 MB, free: 6.066 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 454.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 56.39 MB / 0.4985 GB, free: 9.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.00439/0.117, allocations: 2.888 MB / 0.5013 GB, free: 6.398 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.118, allocations: 0.7278 MB / 0.502 GB, free: 5.668 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1181, allocations: 3.938 kB / 0.502 GB, free: 5.664 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1184, allocations: 71.31 kB / 0.5021 GB, free: 5.594 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1185, allocations: 47.59 kB / 0.5022 GB, free: 5.547 MB / 362.7 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.0004438/0.119, allocations: 227.4 kB / 0.5024 GB, free: 5.324 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1193, allocations: 327.2 kB / 0.5027 GB, free: 5.004 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.1195, allocations: 105.8 kB / 0.5028 GB, free: 4.895 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1196, allocations: 155.5 kB / 0.5029 GB, free: 4.742 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1198, allocations: 175.1 kB / 0.5031 GB, free: 4.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.1198, allocations: 36 kB / 0.5031 GB, free: 4.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.12, allocations: 147.8 kB / 0.5033 GB, free: 4.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.1201, allocations: 119.6 kB / 0.5034 GB, free: 4.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.1202, allocations: 135.2 kB / 0.5035 GB, free: 4.141 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1206, allocations: 0.5174 MB / 0.504 GB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1206, allocations: 0 / 0.504 GB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1206, allocations: 3.938 kB / 0.504 GB, free: 3.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1206, allocations: 0 / 0.504 GB, free: 3.613 MB / 362.7 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.0009674/0.1215, allocations: 0.8058 MB / 0.5048 GB, free: 2.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1216, allocations: 8.031 kB / 0.5048 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.1216, allocations: 78.66 kB / 0.5049 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1217, allocations: 40.69 kB / 0.5049 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1219, allocations: 238.4 kB / 0.5052 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.1219, allocations: 29.02 kB / 0.5052 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.122, allocations: 32.38 kB / 0.5052 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.1224, allocations: 407.7 kB / 0.5056 GB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1224, allocations: 3.938 kB / 0.5056 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1224, allocations: 12 kB / 0.5056 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1224, allocations: 8 kB / 0.5056 GB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1227, allocations: 217.6 kB / 0.5058 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.1236, allocations: 1.198 MB / 0.507 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1239, allocations: 269 kB / 0.5073 GB, free: 68 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.124, allocations: 120.3 kB / 0.5074 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.124, allocations: 4 kB / 0.5074 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.1242, allocations: 232.6 kB / 0.5076 GB, free: 15.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.1242, allocations: 0 / 0.5076 GB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000592/0.1248, allocations: 488.6 kB / 0.5081 GB, free: 15.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.1249, allocations: 182 kB / 0.5082 GB, free: 14.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1251, allocations: 231.6 kB / 0.5085 GB, free: 14.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1251, allocations: 41.69 kB / 0.5085 GB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.1252, allocations: 188.8 kB / 0.5087 GB, free: 14.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1252, allocations: 91.31 kB / 0.5088 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.1253, allocations: 106.2 kB / 0.5089 GB, free: 14.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.1254, allocations: 346.8 kB / 0.5092 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1255, allocations: 108.9 kB / 0.5093 GB, free: 13.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.1258, allocations: 265.8 kB / 0.5096 GB, free: 13.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.1261, allocations: 400.2 kB / 0.5099 GB, free: 13.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1261, allocations: 0 / 0.5099 GB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004078/0.1265, allocations: 436.7 kB / 0.5104 GB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1265, allocations: 4 kB / 0.5104 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1265, allocations: 12.64 kB / 0.5104 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1265, allocations: 11.94 kB / 0.5104 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1267, allocations: 67.84 kB / 0.5105 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1267, allocations: 11.94 kB / 0.5105 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.1268, allocations: 35.78 kB / 0.5105 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1268, allocations: 23.98 kB / 0.5105 GB, free: 12.45 MB / 378.7 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.0001527/0.1269, allocations: 203 kB / 0.5107 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.127, allocations: 27.81 kB / 0.5107 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.1273, allocations: 305 kB / 0.511 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1273, allocations: 4 kB / 0.511 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1273, allocations: 0 / 0.511 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1273, allocations: 8.234 kB / 0.511 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.1279, allocations: 0.716 MB / 0.5117 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1279, allocations: 4 kB / 0.5117 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.128, allocations: 23.92 kB / 0.5118 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.128, allocations: 0 / 0.5118 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.128, allocations: 11.98 kB / 0.5118 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.128, allocations: 3.984 kB / 0.5118 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.128, allocations: 4 kB / 0.5118 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.1284, allocations: 0.5043 MB / 0.5123 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.1284, allocations: 23.8 kB / 0.5123 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1284, allocations: 8 kB / 0.5123 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.1285, allocations: 3.984 kB / 0.5123 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1285, allocations: 23.97 kB / 0.5123 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.1286, allocations: 15.98 kB / 0.5124 GB, free: 10.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1286, allocations: 131.1 kB / 0.5125 GB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1286, allocations: 0 / 0.5125 GB, free: 10.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.1289, allocations: 123.6 kB / 0.5126 GB, free: 10.23 MB / 378.7 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.001099/0.13, allocations: 1.263 MB / 0.5138 GB, free: 9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.1304, allocations: 292.7 kB / 0.5141 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1304, allocations: 0 / 0.5141 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1305, allocations: 123.8 kB / 0.5142 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1308, allocations: 56.19 kB / 0.5143 GB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.1331, allocations: 3.037 MB / 0.5172 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1333, allocations: 177.5 kB / 0.5174 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.1333, allocations: 38.95 kB / 0.5175 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.1334, allocations: 99.39 kB / 0.5176 GB, free: 4.93 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1334, allocations: 4 kB / 0.5176 GB, free: 4.926 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08392/0.2173, allocations: 7.806 MB / 0.5252 GB, free: 13.31 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '743.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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) 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 \"743\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources rt linked by target \"743\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.469234929420054]